摘要:
zepto This is a headingThis is a paragraph.This is another paragraph.切换段落的 "main" 类 zepto This is a heading Apple IBM Mi... 阅读全文
摘要:
togglevar input = $('input[type=text]'); $('#too_long').toggle(input.val().length < 5); 阅读全文
摘要:
var ss = ['1', '2', '3', '4', '5', '6']; console.log(ss.slice(2,4)); 阅读全文
摘要:
The longest word in the english dictionary is: pneumonoultramicroscopicsilicovolcanoconiosis.把滚动条的水平位置设置为 100px$("button").click(function(){ ... 阅读全文
摘要:
var arr = ['1', '2', '3', '4']; arr.push('qwe'); console.log(arr); 阅读全文
摘要:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reducevar ss = [0, 1, 2, 3, 4].reduce(function (previousValue, ... 阅读全文