04 2018 档案
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Configuration; using System.Data; using System.Data.SqlClient; name...
阅读全文
摘要://绑定和解绑事件 //绑定事件方式1 $("#btn1").bind("click", function () { //操作 }); //绑定事件方式2 $("#btn1").click(function () { //操作 }); //解除所有的事件 $("#btn1").unbin...
阅读全文
摘要://1.$.each var arrint = [1, 2, 3, 4]; $.each(arrint, function (key, value) {//数组: key:索引 value:值 if (key == 3) { return false;//在eah中,跳出循环不能用break。 } console.log(key + ":" + value...
阅读全文
摘要:'use strict'; let name1=Symbol('name'); let name2=Symbol('name'); console.log(name1 name2);//false console.log(Symbol.keyFor(name1));//underfined let
阅读全文
摘要:实例1: 'use strict'; class User { constructor(name, pwd) { this.name = name; this.pwd = pwd; }; validateName(cb) { let name = this.name; return new Prom
阅读全文
摘要:'use strict'; //语法塘 class User{ //构造函数 constructor(name,age){ this.name=name; this.age=age; } //静态方法 static getClasName(){ return 'user'; } //构造方法 ch...
阅读全文

浙公网安备 33010602011771号