3 ms·
Please don’t vote for this article, it’s full of half-truths and misconceptions. You can not “fake” scope. When you call `call` on a function and pass an objec
by knuton 15y ago
Please don’t vote for this article, it’s full of half-truths and misconceptions.
You can not “fake” scope. When you call `call` on a function and pass an object as an argument, you are calling the function as a method of that object. This has nothing to do with a function’s scope.
- raganwald 15y agoPlease: Vote for articles you feel contribute to HN, either directly or through their discussion (a vote for a post does not necessarily imply agreement, it implies "This is worth reading.") Please: Point out half-truths and misconceptions. Please don't: Ask other people to vote for or against a post or comment.