Categories
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, […]

Categories
Angular Java Script Tutorials

Barrel file benefits in JavaScript

Barrel file is a single place to re export your functions, variables etc for your modules. I have divided this post into Introduction Caveats Case Study