- 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 inheritance in javascript?
- 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; a(); - How the javascript engine and Browser handles asynchronous calls?
- Difference between callbacks and promises?
- What are the differences between React and Angular?
- How do you simulate the low speed networks?
- Why the
use strictis used?