[][src]Function boa::builtins::value::same_value

pub fn same_value(x: &Value, y: &Value, strict: bool) -> bool

The internal comparison abstract operation SameValue(x, y), where x and y are ECMAScript language values, produces true or false. Such a comparison is performed as follows:

https://tc39.es/ecma262/#sec-samevalue strict mode currently compares the pointers