What is the identity operator for the javascript object?
i.e. ""+ y==y for strings, 0+x==x for numbers, etc.
something something {} == {}
@mistersql this works in node
function i(v){return v}
var x={foo:"barr"}
x===i(x)
true♡ 0 ↻ 0
December 16, 2015
What is the identity operator for the javascript object?
i.e. ""+ y==y for strings, 0+x==x for numbers, etc.
something something {} == {}
@mistersql this works in node
function i(v){return v}
var x={foo:"barr"}
x===i(x)
true