摘要:
用 jQuery 的都知道,jQuery 的 get 和 post 方法有三个参数:地址,数据 和回调函数,但我们知道地址也可以跟随数据的(形如:get_data.php?v1=1&v2=2),而且第二个参数可以省略,即第二个参数可 以直接写回调函数,那么数据写在地址后面和写在 data 参数里有什... 阅读全文
摘要:
本文翻译自JavaScript’s two zerosJavaScript has two zeros: −0 and +0. This post explains why that is and where it matters in practice.JavaScript 中有两个“0”: -0... 阅读全文