import java.lang.reflect.Field; import java.math.BigDecimal; import java.util.Collections; import java.util.Comparator; import java.util.List; import org.apache.commons.
\d可以匹配一个数字(有时\需要加转义符\,所以变成\\d) var re1 = new RegExp('\\d'); console.debug(re1.test('0')); &n
var now = new Date(); now; // Wed Jun 24 2015 19:49:22 GMT+0800 (CST) now.getFullYear(); // 2015, 年份 now.getMonth(); //&
typeof 123; // 'number' typeof NaN; // 'number' typeof 'str'; // 'string' typeof true; // 'boolean' typeof undefined; // 'und
原文:http://www.liaoxuefeng.com/wiki/001434446689867b27157e896e74d51a89c25cc8b43bdb3000$(function(){ test1(); test2(); test3(); &n
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号