摘要:
function Person() {this.name = "fs";}Person.prototype.sayHello = function () {return "hello,fs";};var p1 = new Person();p1.sayHello(); p1.sayHello()首先... 阅读全文
摘要:
function Person() {this.name = "fs";}Person.prototype.sayHello = function () {return "hello,fs";};var p1 = new Person();p1.sayHello(); p1.sayHello()首先... 阅读全文
摘要:
===运算符判断数值和类型是否相等。如:console.log('s'==='s') //输出trueconsole.log('1'===1) //输出false 阅读全文
摘要:
测试用例表如下:1.取2个成员表中的交集(A∩B)T-SQL:select Member1.Name,Member1.Age from Member1 join Member2 on Member1.Name=Member2.Nameselect * from Member1 intersect s... 阅读全文
摘要:
var arr = new Array();function Person() { for (var i = 0; i < 10; i++) { //要记住,这个属性函数申明,只有立即执行才会取scope属性 var item = function () { ... 阅读全文
摘要:
关于 || 和 && 运算符var name=(document.getElementById('txtName') || '') && document.getElementById('txtName').value; 这个是从左往右依次运算等同于var c=document.getElemen... 阅读全文
|