double equals is 15 times slower than triple equals.
Underhood double equals need to call valueOf()
function to convert the value.
({valueOf: () => 3}) == 3 // true
({valueOf: () => 3}) === 3 // false
标签:Double,valueOf,Equals,equals,Triple,double,V8 From: https://www.cnblogs.com/Answer1215/p/17826387.html