![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JS
文章平均质量分 74
丫丫狸笫
A Girl
展开
-
Js 的 typeof 返回值
摘自:http://www.cnblogs.com/lidabo/archive/2011/12/29/2305770.htmljs中的typeof是一个运算符,一元运算。typeof sth不需要加括号的。 返回值是一个字符串,说明运算数的类型。typeof 1;typeof NaN;typeof Number.MIN_VALUE;typeof Infinity;typeof "123";typ转载 2016-06-05 14:06:49 · 7190 阅读 · 0 评论 -
JS (Coursera课程)
Events An event is when sth happens for example click on sth move the mouse press key ONLOAD EVENT onload is triggered when the object has loaded html> body onload="ale原创 2016-06-05 21:00:22 · 379 阅读 · 0 评论 -
JS (Coursera): For Loops
You’ll be able to create different kinds of for loop for clearly shows the start and end values is especially good for handling a series of data (data_structure.length tells you how many items data_str原创 2016-06-06 09:11:52 · 444 阅读 · 0 评论 -
JS(Coursera):More On Arrays
Array You’ll learn some advanced array functions SORTINGarray.sort() Alphabetical order var pets = ["Dog" , "Cat" , "Rabbit" , "Hamster"]; pets.sort(); 按字母顺序 array.reverse() Descending order原创 2016-06-06 11:54:35 · 343 阅读 · 0 评论