Interesting you mention that. I remember reading the source for one of Lodash's methods and they've stopped using Object.prototype.toString.call in favour of something else. I can't remember what exactly but it was in relation to the [[class]] property.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Excellent! While I wonder now that the [[class]] property was removed in ES6, how does Object.prototype.toString.call work.
Interesting you mention that. I remember reading the source for one of Lodash's methods and they've stopped using
Object.prototype.toString.call
in favour of something else. I can't remember what exactly but it was in relation to the [[class]] property.