same-value
v1.0.2
Published
Check if two values have the same value.
Downloads
762
Maintainers
Readme
same-value
Check if two values have the same value.
Returns true for NaNs and Invalid dates. Returns false for different instances.
Usage
var same = require('same-value');
same('a','a'); -> true
same('a','b'); -> false
etc...