Professional Documents
Culture Documents
Javascript :-
Hoisting in javascript
Implicit type coercion
Javascript predefined question
Javascript scope
closure in js
curry function in js
Prototyping
Javascript function
Pure functions
Scope of variables
Difference in rest and spread operator
Event loop
event bubbling
event capturing
prototype chain
Ways to create objects
// console.log(typeof(null))
// console.log('1',x)
// var x = 21;
// var girl = function () {
// console.log('2',x);
// var x = 20;
// };
// girl ();
// 1 undefiend
// 2 undefiend
// (function() {
// console.log(1);
// setTimeout(function(){console.log(2)}, 1000);
// setTimeout(function(){console.log(3)}, 0);
// console.log(4);
// })();
// 1,4,3,2
// (function(x) {
// return (function(y) {
// console.log(x);
// })(2)
// })(1);
// function foo1()
// {
// return {
// bar: "hello"
// };
// }
// function foo2()
// {
// return
// {
// bar: "hello"
// };
// }
// console.log('foo1',foo1())
// console.log('foo2',foo2())
// function flattenArray(arr){
// let newArr = [];
// for(let i =0; i < arr.length; i++){
// if(arr[i].length){
// for(let j =0; j < arr[i].length; j++){
// if(arr[i][j].length){
// for(let k =0; k < arr[i][j].length; k++){
// newArr.push(arr[i][j][k]);
// }
// }else {
// newArr.push(arr[i][j]);
// }
// }
// }else {
// newArr.push(arr[i]);
// }
// }
// return newArr;
// }
// console.log(flattenArray(a1))
// console.log(flattenArray(a2))
<div class="parent">
<div class="child"></div>
</div>
states of promises,
design patterns
page optimization
how https is different from http
cookies in detail
HTML :-
HTML5 links
Meta in html
Semantic html
tages why used
Seo
Service workers
Web workers
PWA
Web accessibility
CSS :-
Node JS
Why node js
Features of node Js
What is express js
What is Promises
Impetus Question:
Bundling,
Code