123-Essential-JavaScript-Interview-Questions icon indicating copy to clipboard operation
123-Essential-JavaScript-Interview-Questions copied to clipboard

JavaScript interview Questions

Results 19 123-Essential-JavaScript-Interview-Questions issues
Sort by recently updated
recently updated
newest added

Now it does not return undefined x 1 but "empty" Please check and revise the answer.

There is one more way to set default parameter value: ``` function sendEmail(configuration, provider = "Gmail") { console.log(`Provider: ${provider}`); } sendEmail("Config"); ```

the method **Array.isArray()** is available in also in plain Jasvascript not just in JQuery [Array.isArray()](https://developer.mozilla.org/he/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray) on MDN

The code is ``` function funcA(){ console.log("funcA ", this); (function innerFuncA1(){ console.log("innerFunc1", this); (function innerFunA11(){ console.log("innerFunA11", this); })(); })(); } console.log(funcA()); ``` The given answer `funcA Window {...} innerFunc1 Window...

In Q31, we have ``` function Clone(object){ var newObject = {}; for(var key in object){ newObject[key] = object[key]; } return newObject; } var objectLit = {foo : 'Bar'}; var cloneObj...

``` var foo = function bar() { // foo is visible here // bar is visible here console.log(typeof bar()); // Works here :) }; // foo is visible here //...

Turkish branch added

Added two general questions. What is Cross-Origin Resource Sharing (CORS)? What is Event Bubbling?