Open onlychild opened 6 years ago
$.type(Symbol()) == 'object' // true => it's a error
$.type(Symbol()) == 'object' // true
$.type(Symbol()) // symbol .....
$.type(Symbol()) // symbol
// Populate the class2type map $.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function(i, name) { class2type[ "[object " + name + "]" ] = name.toLowerCase() })
$.type(Symbol()) == 'object' // true
=> it's a error$.type(Symbol()) // symbol
.....// Populate the class2type map $.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function(i, name) { class2type[ "[object " + name + "]" ] = name.toLowerCase() })