UNPKG

wat

Version:

Community-controlled cheat sheets for every coder.

14 lines (10 loc) 201 B
## .valueOf() Returns the primitive value of the specified object. ```js const arr = [1, 2, 3]; const s = arr.valueOf(); if (arr === s) { return true; } // returns `true` ```