题解 | #完全等同#
完全等同
http://www.nowcoder.com/practice/1d7e4611cea64950aa3a10caf2529c92
{"css":"","js":"function identity(val1, val2) {
return val1 === val2;
还有es6的:
return Object.is(val1,val2);
}","html":"","libs":[]}
完全等同
http://www.nowcoder.com/practice/1d7e4611cea64950aa3a10caf2529c92
{"css":"","js":"function identity(val1, val2) {
return val1 === val2;
还有es6的:
return Object.is(val1,val2);
}","html":"","libs":[]}
相关推荐