- Write a function which can add all the arguments and return the value ?
Sample Inputs / Outputs
sum(1,2) => 3 sum(1,2,.3) => 3.3 - Explain the prototypal inheritance?
- Explain the closures?
- Difference between
var,let&const? - What would be the output of the following code?
function a(){ console.log(b); } var b=6; - How the javascript engine and Browser handles asynchronous calls
- Difference between callbacks and promises?
- Which one do you prefer among React and Angular?
- How do you simulate the low speed networks?
- Why the
use strictis used?