Java Script Tutorials

How I learned call() and apply() in JavaScript

In the past whenever I came across code snippets with the usage of call() and apply(). I would ignore them as they appeared to be on advanced level. It was scary for me, as any new thing is. Than I found this code snippet function add(){ console.log(arguments) //Arguments { 0: 1, 1: 2, 2: 3, […]