441 Views
Okay, fine. That title is horrible. But we're all competing with BuzzFeed for readers now, and I needed something catchy, so here we are. Right, then. So, what is Object#valueOf and why should you care? More or less, it's a method that JavaScript calls automatically any time it sees an object in a situation where a primitive value is expected.
0 comments