Skip to content

Data Structure Algorithm, Linked List, Binary Search, Hash Tables, Curry Function, Bind Method, Harmless Ransom Note etc.

Notifications You must be signed in to change notification settings

mjuyelrana/javascript-special

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript-Interview-Course

Data Structure Algorithm, Linked List, Binary Search, Hash Tables, Curry Function, Bind Method, Harmless Ransom Note etc.

  1. What is logged out of each console.log statement?
let arr1 = [];
let arr2 = new Array(50);
let arr3 = new Array(1,2,"three",4,'five');
let arr4 = new Array([1,2,3,4,5]);

console.log('arr1: ', arr1);   // []
console.log('arr2: ', arr2);   // [<50 empty items>]
console.log('arr3: ', arr3);   //[1,2,'three',4,'five']
console.log('arr4: ', arr4);   // [[1,2,3,4,5]]

About

Data Structure Algorithm, Linked List, Binary Search, Hash Tables, Curry Function, Bind Method, Harmless Ransom Note etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published