JavaScript Questions

 

 JAVASCRIPT INTERVIEW QUESTIONS (ONLY)

Soumitya Chauhan

Q.What is JavaScript?
Q. hosting
Q.what is higher Order function?
Q. event loop ?
Q.splice() vs Slice()
Q.what is NaN?
Q.Undefined and Null
Q anonymous function
Q. what is teranary operator ?
Q what is callback ?
Q What is the difference between Local storage & Session storage?
Q.Define closure.
Q How can you create an object in JavaScript?
Q.What is Data Type?
Q.let and const and var
Q. console.log('5'+5);
Q.console.log('5'-5)
Q.Difference between “==” and “===” operators.

Gaurav



Q. Explain the complete execution in javascript?
Q. Event Loop ?
Q. Call Stack?
Q. CallBack Functions: definition, intenal working & diff between promise & callBack functions
Q. what is promise write its code for exanmple & tell different Promises Functions like promise.All, promise.allSettled() etc.
"Q. Transfrom this array using recursion in javascript:
 Gievn array
 arr=[1,2,[3,4,[5,6]]];
 output array:
 arr=[1,2,3,4,5,6]"

Rahul Kumar Yadav

"1) Given an input string, return the string which is a character count.
 Example:
 Input: “ABABBCDCCC”
 Output: “A2B3C4D1”"
2) Difference between “==” and “===” operators.
3) What are the different data types present in javascript?
4) What is NaN property in JavaScript?
5) Explain call(), apply() and bind() methods.
6) What is the use of a constructor function in javascript?
7) What would be the result of 3+2+”7″?
8) What would be the result of ~8?
9) What is JavaScript ‘Strict Mode’?


Desh Chatterjee


datatypes in js
how to check type of a variable
functional scope & block scope
what is NaN
how to reverse a string using JS
let and const concept
declare simple array & object
map vs foreach
remove duplicates from array

Q.What is JavaScript?soumitya chauhan
Q. hostingsoumitya chauhan
Q.what is higher Order function?soumitya chauhan
Q. event loop ?soumitya chauhan
Q.splice() vs Slice()soumitya chauhan
Q.what is NaN?soumitya chauhan
Q.Undefined and Nullsoumitya chauhan
Q anonymous function soumitya chauhan
Q. what is teranary operator ?soumitya chauhan
Q what is callback ?soumitya chauhan
Q What is the difference between Local storage & Session storage?soumitya chauhan
Q.Define closure.soumitya chauhan
Q How can you create an object in JavaScript?soumitya chauhan
Q.What is Data Type?soumitya chauhan
Q.let and const and varsoumitya chauhan
Q. console.log('5'+5);soumitya chauhan
Q.console.log('5'-5)soumitya chauhan
Q.Difference between “==” and “===” operators.soumitya chauhan
Q. Explain the complete execution in javascript?
Gaurav
Q. Event Loop ?
Q. Call Stack?
Q. CallBack Functions: definition, intenal working & diff between promise & callBack functions
Q. what is promise write its code for exanmple & tell different Promises Functions like promise.All, promise.allSettled() etc.
Q. Transfrom this array using recursion in javascript:
Gievn array
arr=[1,2,[3,4,[5,6]]];
output array:
arr=[1,2,3,4,5,6]
what is js?datatypes in JS?null and defined?let var & const?hoisting?arrow functions?this key word?anonymous function?IIFES? clousers? == & ===?Coercion?vamshree krishna Etukri
1) Given an input string, return the string which is a character count.
Example:
Input: “ABABBCDCCC”
Output: “A2B3C4D1”
Rahul Kumar Yadav
2) Difference between “==” and “===” operators.Rahul Kumar Yadav
3) What are the different data types present in javascript?Rahul Kumar Yadav
4) What is NaN property in JavaScript?Rahul Kumar Yadav
5) Explain call(), apply() and bind() methods.Rahul Kumar Yadav
6) What is the use of a constructor function in javascript?Rahul Kumar Yadav
7) What would be the result of 3+2+”7″?Rahul Kumar Yadav
8) What would be the result of ~8?Rahul Kumar Yadav
9) What is JavaScript ‘Strict Mode’?Rahul Kumar Yadav
Problem1: var y = 1;
if (function f() {}) {
y += typeof f;
}
console.log(y);
Rahul Kumar Yadav
11) Problem2:
(function() {
var a = b = 5;
})();
console.log(b);
Rahul Kumar Yadav
datatypes in jsDesh Chatterjee
how to check type of a variableDesh Chatterjee
functional scope & block scopeDesh Chatterjee
what is NaNDesh Chatterjee
how to reverse a string using JSDesh Chatterjee
let and const conceptDesh Chatterjee
declare simple array & objectDesh Chatterjee
map vs foreachDesh Chatterjee
remove duplicates from arrayDesh Chatterjee
1. What is Javascript?Mechate Lavanyasai Kumar
2. What are the features of Javascript?Mechate Lavanyasai Kumar
3. Var, let, and constMechate Lavanyasai Kumar
4. Hoisting
Mechate Lavanyasai Kumar
5. InnerText vs InnerHTMLMechate Lavanyasai Kumar
6. PromisesMechate Lavanyasai Kumar
7. Map vs ForEachMechate Lavanyasai Kumar
8. Async vs Sync
Mechate Lavanyasai Kumar
9. Create a form with three input fields, Name, Email Id, and Mobile.Mechate Lavanyasai Kumar
When the user submits the form, he should see an alert box with the
name, email, and mobile number he entered in the form.
1. Brief about JavaScript --- not answered.K Madhu
2. what is a variable in js ? let var, const keywords --- not answered.K Madhu
3. Primitive and nonprimitive data types --- partially answered.K Madhu
4. what are === and == --- not answered.K Madhu
5. typeof() in js --- not answered.K Madhu
6. what are function expression and function declaration? --- not answered.K Madhu
7. what is an anchor tag in HTML --- answered.K Madhu
8. logical Operators in js --- answered.K Madhu
9. Strict Mode in js --- not answered.K Madhu
10. the difference between null and undefined ---K Madhu
not answered.K Madhu
11. Ternary Operators in js --- partially answered.K Madhu
12. the switch statement in js --- answered.K Madhu
13. for and while loop --- answered.K Madhu
15. can we place the script tag in the body tag? --- not answered.K Madhu
16. What is the ‘class’ attribute in HTML? --- answered.K Madhu
17. What is the ‘id’ attribute in HTML? --- answered.K Madhu
18. CSS box model properties --- not answered.K Madhu
19. margin properties --- not answered.K Madhu
20. which tags make text bold and italic --- answered.K Madhu
21. how many types of lists in HTML --- answeredK Madhu
What are the different data types present in javascript?deepti-rathor js(Esay)
Explain Hoisting in javascript.deepti-rathor js(Esay)
(1) functionDeclaration()
deepti-rathor js(Esay)
function functionDeclaration() {deepti-rathor js(Esay)
console.log('Hoisted')deepti-rathor js(Esay)
}deepti-rathor js(Esay)
(2)function functionDeclaration() {deepti-rathor js(Esay)
console.log('Hoisted')deepti-rathor js(Esay)
6
deepti-rathor js(Esay)
functionDeclaration()deepti-rathor js(Esay)
deepti-rathor js(Esay)
Difference between “==” and “===” operators.deepti-rathor js(Esay)
What is the difference between null and undefined
deepti-rathor js(Esay)
What is an Immediately Invoked Function in javascript?deepti-rathor js(Esay)
Write IIFE functiondeepti-rathor js(Esay)
What is the ‘Strict Mode in JavaScript, and how can it be enabled?deepti-rathor js(Esay)
given an array [1,2,3,4,5], multiply it by 3 and return a new arraydeepti-rathor js(Esay)
apply the filter method in an arraydeepti-rathor js(Esay)
what are events in jsdeepti-rathor js(Esay)
different ways to attach js code in HTML file
deepti-rathor js(Esay)
what are import and exportdeepti-rathor js(Esay)
what are ES6 and its featuresdeepti-rathor js(Esay)
What is closure in javascript?deepti-rathor js(Esay)
what is JS?data types in JS?null and undefined?let var and const?== & ===?coersion? hoisting?clousers?IIFES?arrow function?this keyword?Vamshree Krishna Etukuri
Difference betweeen null and undefined in JS? (clearly answered for null)Anand prakash
. Benefits of declaring a variable as null? (answered correctly)Anand prakash
. What is hoisting in JS? Explain with example code?(satisfied with answer)Anand prakash
. Scope in javascript? Difference between let, var and const? (Answered somewhat correct)Anand prakash
. What is Closure in JS? Explain with example code?(not answered properly)Anand prakash
. Write a parent function that accepts a callback function as parameter.Anand prakash
. Write a fetch function in JS to get a JSON and show it in response.(not answered)Anand prakash
. What are cookies? What are sessions?Anand prakash
. What is DOM? What is DOM tree? (Not answered properly)Anand prakash
. What are callback functions? (not answered upto the satisfaction)Annad prakash
. What is promises in JS? (not answered completely)Anand prakash
Is JS single or multi threaded?Abhishek kumar singh
What are the different methods to find HTML elements in DOM ?Abhishek kumar singh
What is scope in JS?
Abhishek kumar singh
What is the difference between == and === operators?Abhishek kumar singh
What are the different data types in JS?Abhishek kumar singh
What is the difference between let and var ?Abhishek kumar singh
What is Dom ?Abhishek kumar singh
What will be the output for below code:Abhishek kumar singh
console.log( "5" - 5);Abhishek kumar singh
console.log( "5" + 5);Abhishek kumar singh
Abhishek kumar singh
Name some built in Array and String functions.
Abhishek kumar singh
What is setTimeout? Write syntax for it.
Abhishek kumar singh
What is a callback function?
Abhishek kumar singh
) Brief Intro about yourself.Nishit Tated
2) Any projects you have worked on, demonstrating your major skills?Nishit Tated
3) What are the different ways to define a variable? Explain them brieflyNishit Tated
4) Difference between "==" and "===" operator'sNishit Tated
5) What is a DOM?Nishit Tated
6) How "this" keyword works in JS? -Nishit Tated
7) Explain hoistingNishit Tated
8) Explain closureNishit Tated
9) Explain pass by value and pass by referenceNishit Tated
10) What are the pros and cons of for loop?Nishit Tated
11) What are the differences between while and do-while loops in JS?Nishit Tated
12) What are the differences between undeclared and undefined variables?Nishit Tated
13) Write a JS program to find duplicate values in an arrayNishit Tated
1.what are scemantic elements?Sunetra Das
2. What are some of the new input types in HTML5?Sunetra Das
3.What is JavaScript?Sunetra Das
4.Is JavaScript statically typed or dynamically typed?Sunetra Das
5.Difference between let and var.Sunetra Das
6.What are the different data types present in JavaScript?Sunetra Das
7.Explain scope chain.Sunetra Das
8.var a ={Sunetra Das
first:"Subham",Sunetra Das
last:"Pandey",Sunetra Das
age:"20",Sunetra Das
profession:"developer"Sunetra Das
}Sunetra Das
how can you change profession value to "engineer".Sunetra Das
9.What do you mean by hoisting. Is let and const also hoisted?Sunetra Das
10.What is the difference between == and === operatorsSunetra Das
11.Convert String to an array. Ex."hello" to ["h","e","l","l","o"]Sunetra Das
12.What is closure.Write an example.Sunetra Das
1) Brief Intro about yourself.Nishit Tated
2) Any projects you have worked on, demonstrating your major skills?Nishit Tated
3) What are the different ways to define a variable? Explain them brieflyNishit Tated
4) Difference between "==" and "===" operatorsNishit Tated
5) What is a DOM?Nishit Tated
6) What is CSS and how does it work with HTML?Nishit Tated
7) What are the advantages of CSS?Nishit Tated
8) What are the limitations of CSS?Nishit Tated
9) What are the advantages of External Style Sheets?Nishit Tated
10) What are the advantages of Embedded Style Sheets?Nishit Tated
11) What do you mean by a markup language?Nishit Tated
12) Difference between tags vs attributes vs elementsNishit Tated
13) What is the meaning of <DOCTYPE html>?Nishit Tated
14) Difference between div tag and span tagNishit Tated
15) What are some common lists that are used when designing a page?Nishit Tated
16) Write a JS program to find duplicate values in an arrayNishit Tated
1. What is Javascript?
Mechate Lavanyasai Kumar
2. What are the features of Javascript?
Mechate Lavanyasai Kumar
3. Var, let, and const
Mechate Lavanyasai Kumar
4. Hoisting
Mechate Lavanyasai Kumar
5. InnerText vs InnerHTML
Mechate Lavanyasai Kumar
6. Promises
Mechate Lavanyasai Kumar
7. Map vs ForEach
Mechate Lavanyasai Kumar
8. Async vs Sync
Mechate Lavanyasai Kumar
9. Create a form with three input fields, Name, Email Id, and Mobile.
Mechate Lavanyasai Kumar
When the user submits the form, he should see an alert box with the
Mechate Lavanyasai Kumar
name, email, and mobile number he entered in the form.
Mechate Lavanyasai Kumar
Himanshu Manu Udhwani
- Difference between tags and attribute
Himanshu Manu Udhwani
- Difference between ID and class selector
Himanshu Manu Udhwani
- What is difference div and span ?
Himanshu Manu Udhwani
- What is DOM ?
Himanshu Manu Udhwani
- Explain Box Model
Himanshu Manu Udhwani
- What are the limitations of CSS?
Himanshu Manu Udhwani
- What are the different ways to add CSS in program
Himanshu Manu Udhwani
- Explain the term Responsive web design
Himanshu Manu Udhwani
- What is JS ?
Himanshu Manu Udhwani
- What are the different data types present in javascript?
Himanshu Manu Udhwani
- Difference between Let Var and Const.
Himanshu Manu Udhwani
- Explain Hoisting in javascript.
Himanshu Manu Udhwani
- What is the Output of for(var i=0;i<10;i++) { } console.log(i);
Himanshu Manu Udhwani
- Explain Implicit Type Coercion in javascript.
Himanshu Manu Udhwani
Himanshu Manu Udhwani
- What is the output. var x = 3; var y = "3"; x - y ?-
Himanshu Manu Udhwani
- What is an Immediately Invoked Function in javascript?
Himanshu Manu Udhwani
- What are closures.
Himanshu Manu Udhwani
- What is HTML
Himanshu Manu Udhwani
JS
- What is JS ?Chintamani Meher
[Partially Answered]Chintamani Meher
Chintamani Meher
- What are the different data types present in javascript?Chintamani Meher
[Not Answered]Chintamani Meher
Chintamani Meher
- Difference between Let Var and ConstChintamani Meher
[Not Answered]Chintamani Meher
Chintamani Meher
- Explain Hoisting in javascript.Chintamani Meher
[Not Answered]Chintamani Meher
Chintamani Meher
- What is the Output of for(var i=0;i<10;i++) { } console.log(i);Chintamani Meher
[Not Answered]Chintamani Meher
Chintamani Meher
- Explain Implicit Type Coercion in javascript.Chintamani Meher
[Not Answered]Chintamani Meher
Chintamani Meher
- What is the output. var x = 3; var y = "3"; x - y ?Chintamani Meher
[Not Answered]Chintamani Meher
Chintamani Meher
- What is an Immediately Invoked Function in javascript?Chintamani Meher
[Not Answered]Chintamani Meher
Chintamani Meher
- What are closures.Chintamani Meher
[Not Answered]Chintamani Meher
Chintamani Meher
- What is the difference between Arrow function and normal function ?Chintamani Meher
[Not Answered]Chintamani Meher
Chintamani Meher
Chintamani Meher
HTMLChintamani Meher
JavaScript SyntaxChintamani Meher
Datatypes & VariablesChintamani Meher
ScopeChintamani Meher
FunctionChintamani Meher
PopupsChintamani Meher
DateChintamani Meher
ArrayChintamani Meher
LoopsChintamani Meher
OperatorsChintamani Meher
Chintamani Meher
CSS SelectorsChintamani Meher
CSS PropertiesChintamani Meher
CSS Applying StyleChintamani Meher
- What do you know all about JavaScript? : partially answeredSandip Jha
Sandip Jha
-What is Closure. Write a sample code in Closure? : partially answered.Sandip Jha
- var a;Sandip Jha
console.log(a);Sandip Jha
a = 5; answeredSandip Jha
-What is Hoisting? How does hoisting work? answeredSandip Jha
-Difference between let, var, and const keyword. answeredSandip Jha
- const a = 7;Sandip Jha
a = 6;Sandip Jha
console.log(a) : not answeredSandip Jha
----------------------------------------------Sandip Jha
function greet() {Sandip Jha
b = 'hello';Sandip Jha
console.log(b);Sandip Jha
var b;Sandip Jha
}Sandip Jha
greet();Sandip Jha
console.log(b);Sandip Jha
Sandip Jha
answeredSandip Jha
------------------------------------------------Sandip Jha
Sandip Jha
- == vs === answeredSandip Jha
Sandip Jha
console.log(false == '0')Sandip Jha
console.log(false === '0') : answeredSandip Jha
Sandip Jha
- What is Shadowing?; not answeredSandip Jha
Sandip Jha
- slice vs splice: partially answeredSandip Jha
Sandip Jha
- shift vs unshift:not answeredSandip Jha
Sandip Jha
-What are the types of pop-ups available in JavaScript.Sandip Jha
- print the reverse of a string using JS methods. :Sandip Jha
1. Difference between let, var and constArpit Goel
2. Difference between == and ===Arpit Goel
3. Output questionArpit Goel
console.log (2 == '2')Arpit Goel
console.log (2 === '2')Arpit Goel
4. Explain map function and filter function in javascriptArpit Goel
5.What is hoisting in JS ?Arpit Goel
6. What are closures in JS ?Arpit Goel
7. What is Arrow function in JavascriptArpit Goel
8. Use of this keyword in JSArpit Goel
9. Output QuestionsArpit Goel
console.log ('1' + '2')Arpit Goel
console.log (1 + 2 + '3')Arpit Goel
console.log (1 + 2 + '3' + 4)Arpit Goel
10. Difference between undefined and nullArpit Goel
11.What is event loop in JS ?Arpit Goel
12. What is call stack in JS ?Arpit Goel
13. What are rest and spread operators in JS ?Arpit Goel
14 What is use of setTimeoutArpit Goel
15. What is use of setIntervalArpit Goel
16. What is callback function in JS ?Arpit Goel
17. Difference between function declaration and function expressionArpit Goel
18. What is IIFEArpit Goel
19. Difference between call, bind and applyArpit Goel
20. Write a code to reverse stringArpit Goel
Sample Input - "I love India"Arpit Goel
Sample Output - "India love I"Arpit Goel
What is js.Danish Khan
- What are the different data types present in javascript?Danish Khan
- let vs var vs const.Danish Khan
- Explain Hoisting in javascriptDanish Khan
- Closure in JS.Danish Khan
- console.log( 3 == "3").Danish Khan
- What will be the output of given code snippet?Danish Khan
var a = 10;
var b = "25";
var z1 = a + 10 + 1 + b;
var z2 = b + 20 + 1 + a;
var z3 = 10 + 10 + a + b;
console.log(z1)
console.log(z2)
console.log(z3)
Danish Khan
output for :-
var a;
console.log(a);
a=10;
Danish Khan
Task 1 - Write a program to reverse a string without using loops.Danish Khan
Task 2 :- Complete JS challenge :- https://edabit.com/challenge/NHfYRHg2tDtcZyykBDanish Khan
Task 3 :-Complete JS challenge :- https://edabit.com/challenge/yFJzLfYghz7ZtsyANDanish Khan
What is closureRounak Goliya
mergeSortedArray([2,5,6,9], [1,2,3,29]); = [1, 2, 2, 3, 5, 6, 9, 29];Rounak Goliya
check given number is prime or notRounak Goliya
print all the prime number between 0 to nRounak Goliya
What are different ways to include script in html?Vidya Nayak
Where should we mention script in html file for performance?Vidya Nayak
What are the ways to create variables in JS?Vidya Nayak
What is the difference between var, let & const?Vidya Nayak
What is “use strict” in JavaScript?Vidya Nayak
What is ECMAScript?Vidya Nayak
What is JavaScript hoisting?Vidya Nayak
What is Closures?Vidya Nayak
What is Promises in JavaScript?Vidya Nayak
What are the stages in promises?Vidya Nayak
Can you write JavaScript code to sort this array?Vidya Nayak
s JS single threaded or multiple threaded?
Abhishek Kumar Singh
What is scope in JS?
Abhishek Kumar Singh
What is the difference between let and var ?
Abhishek Kumar Singh
What are the different methods to find HTML elements in DOM ?
Abhishek Kumar Singh
What is the difference between == and === operators?
Abhishek Kumar Singh
What are the different data types in JS?
Abhishek Kumar Singh
What is Dom ?
Abhishek Kumar Singh
What will be the output for below code:
Abhishek Kumar Singh
console.log( "5" - 5);
Abhishek Kumar Singh
console.log( "5" + 5);
Abhishek Kumar Singh
Name some built in Array and String functions.
Abhishek Kumar Singh
Write a JS code to reverse a string.
Abhishek Kumar Singh
What is setTimeout method?
Abhishek Kumar Singh
What is a callback function? Explain with code.
Abhishek Kumar Singh
What is the difference between null and undefined?.
Abhishek Kumar Singh
What is the output of below code
Abhishek Kumar Singh
var myChars = ['a', 'b', 'c', 'd']
Abhishek Kumar Singh
delete myChars[0];
Abhishek Kumar Singh
console.log(myChars);
Abhishek Kumar Singh
console.log(myChars[0]);
Abhishek Kumar Singh
console.log(myChars.length);
Abhishek Kumar Singh
1: [empty, 'b', 'c', 'd'], empty, 3
Abhishek Kumar Singh
2: [null, 'b', 'c', 'd'], empty, 3
Abhishek Kumar Singh
3: [empty, 'b', 'c', 'd'], undefined, 4
Abhishek Kumar Singh
4: [null, 'b', 'c', 'd'], undefined, 4
Abhishek Kumar Singh
What is IIFE?
Abhishek Kumar Singh
Explain slice and splice method.
Abhishek Kumar Singh
Difference between forEach and map method?
Abhishek Kumar Singh
1. What is JS, where do we run it, how many threads?
2. ES5 vs ES6
3. let vs var vs const
4. == vs ===
5. Closures with example
6. How does JS work and process asynchronous code
7. Callback functions
8. Higher order functions
9. Arrow function vs regular function
10. Settimeout vs setinterval
11. Function to add first 10 or n natural numbers and return result.
Kanishk Kalyani
What is this keyword?Aejit Tripathi
Write code to show how this keyword works?Aejit Tripathi
What are the string methods in js?Aejit Tripathi
let x ='2'+2+2Aejit Tripathi
Create a webpage which include random paragraph. Add two buttons to it. The functionality of buttons should be as follow:Niharika Nishu
Niharika Nishu
onclick first button - the para should hide and showNiharika Nishu
onclick second button - color of para should changeNiharika Nishu
1. Let, Var and Constdipesh banshal
2. Hoistingdipesh banshal
tell the output
a. console.log(a)
console.log(b)
let a = 10;
console.log(a);
var b = 100;
b. var x =1;
a();
b();
console.log(x):
function a(){
var x = 10;
console.log(x);
}
function b(){
var x = 100;
console.log(x);
}
dipesh banshal
3. Closuresdipesh banshal
4. Array Methodsdipesh banshal
5. Event Loopdipesh banshal
wdipesh banshal
.Prateek Jain
What are primitive data types?Prateek Jain
what is the difference between null and undefined?Prateek Jain
What is memoization?Prateek Jain
JAVASCRIPT is a case sensitive or case in-sensitive?Prateek Jain
JAVASCRIPT dynamically types language or statically typed language?Prateek Jain
What is the difference between == and ===?Prateek Jain
What are clousers?Prateek Jain
What is setTimeout() and setTimeInterval()?Prateek Jain
1.What is JavaScript?sunetra das
2.Difference between let and var.sunetra das
3.What are the different data types present in JavaScript?sunetra das
4.Difference between null and undefined.sunetra das
5.Print all the values of an objectsunetra das
6.Event in js.sunetra das
7.Pass by value VS Pass by reference.sunetra das
8.Hoistingsunetra das
9.window object.sunetra das
10.What is arrow function?sunetra das
11.Sort an arraysunetra das
12.Lexical scope.sunetra das
13.Synchronous and Asynchronoussunetra das
14.Check the no is palindrome or not.sunetra das
15.Clouser.sunetra das
16.Reverse a string.sunetra das
JS is loosely typed or strictly typed language?Love Arora
Why we use-strict keyword?Love Arora
What is purpose of typeof keyword?Love Arora
Difference between var, let and const?Love Arora
Explain Hoisting?Love Arora
Output of:Love Arora
Love Arora
const a = 10;Love Arora
if(true){Love Arora
const a = 20;Love Arora
console.log(a);Love Arora
}Love Arora
console.log(a);Love Arora
Love Arora
Difference between == & ===?Love Arora
If(''==0){Love Arora
console.log("Yes")Love Arora
}Love Arora
let a = new Object("abc");Love Arora
let b = new String("abc");Love Arora
if(a==b){Love Arora
console.log("Yes");Love Arora
}else{Love Arora
console.log("No");Love Arora
}Love Arora
Difference between callback & promiseLove Arora
Implement an example of immediate invoke function?Love Arora
Design a form in HTML and fetch the values and print on console?Love Arora
1. Difference between let, var and const -> correct definition, but not able to answer practical questionsArpit Goal
2. Difference between == and === -> correct answerArpit Goal
3. Output questionArpit Goal
console.log (2 == '2') -> correct answerArpit Goal
console.log (2 === '2') -> correct answerArpit Goal
4. Explain map function and filter function in javascript -> correct example and explanationArpit Goal
5.What is hoisting in JS ? -> more explanation was required, not able to answer practical questionsArpit Goal
6. What are closures in JS ? -> almost correct definition, not able to write exampleArpit Goal
7. What is Arrow function in Javascript -> more explanation was requiredArpit Goal
8. Use of this keyword in JS -> not able to answerArpit Goal
9. Output QuestionsArpit Goal
console.log ('1' + '2') -> correct answerArpit Goal
console.log (1 + 2 + '3') -> correct answerArpit Goal
console.log (1 + 2 + '3' + 4) -> correct answerArpit Goal
10. Difference between undefined and null -> correctArpit Goal
11.What is event loop in JS ? -> he has some knowledge about this, but he was not able to give proper explanationArpit Goal
12. What is call stack in JS ? -> not able to answerArpit Goal
13. What are rest and spread operators in JS ? -> he has some knowledge about this, but he was not able to give proper explanationArpit Goal
14 What is use of setTimeout -> almost correct definition, not able to write exampleArpit Goal
15. What is use of setInterval -> not able to answerArpit Goal
16. What is callback function in JS ? -> not able to explain properly, almost correct exampleArpit Goal
17. Difference between function declaration and function expression -> not able to explain properly, not able to write exampleArpit Goal
18. What is IIFE -> correct definition, not able to write exampleArpit Goal
19. Difference between call, bind and apply -> not able to give proper explanation and write exampleArpit Goal
20. What is the use of push and pop method in JS ?-> not able to answerArpit Goal
21. What is the use of shift and unshift method in JS ? -> not able to answerArpit Goal
Nausheen Khan
Explain Null and Undefined in JavaScriptAejit tripathi
Show me the example of Null and undefined in jsAejit tripathi
What is let keyword in JavaScriptAejit tripathi
what is this keyword in jsAejit tripathi
what is difference between == and === operator in jsAejit tripathi
what is recursion in jsAejit tripathi
write code in js to find out prime no. from 20 to 1 by using recursionAejit tripathi
clouser with exampleAshish Kesari
Difference b/w let, var, and constAshish Kesari
Difference b/w function declaration and function expression.Ashish Kesari
What is DOCTYPE in HTML?Ashish Kesari
What are semantic tags?Ashish Kesari
What is the box model in CSS?Ashish Kesari
What are inline and block elements?Ashish Kesari
Difference between tags vs attributesAshish Kesari
Simple HTML form-based question ImplementAshish Kesari
> What is js - partially answeredArnab Roy
Arnab Roy
> What is hoisting - partially answeredArnab Roy
Arnab Roy
> What is closure - answered the theory but unable to implementArnab Roy
Arnab Roy
> what is Function expression - unable to explainArnab Roy
Arnab Roy
> what is a IIFE - unable to answerArnab Roy
Arnab Roy
> what is a spread operator - unable to answerArnab Roy
Arnab Roy
> difference let,var and const - partially answeredArnab Roy
Arnab Roy
> what is block scope and function scope - unable to answerArnab Roy
Arnab Roy
> What is a setTimeOut and what is a setInterval and what are the difference - unable to answerArnab Roy
Arnab Roy
> What will be the output of 5+'a' - answeredArnab Roy
Arnab Roy
> create a stringonly with the unique characters from 'aabbbc' , so the output will be 'abc' - unable to implementArnab Roy
1. What is == and ===.Arju Sahu
2. What is difference between let ,const and var.Arju Sahu
3. What is hoistingArju Sahu
4. What is closure.Arju Sahu
5. What is difference between function statement and function expression.Arju Sahu
6. What are the advantages of arrow function.Arju Sahu
7. what is map.Arju Sahu
8. what is filter.Arju Sahu
9. What is null and undefined in javascript.Arju Sahu
10. What is the purpose of setTimeout function.Arju Sahu
11. What are higher order function.Arju Sahu
12. What is the significance of this keyword.Arju Sahu
13. What are callbacks.Arju Sahu
14. What are promises.Arju Sahu
15. What is event bubbling.Arju Sahu
16. What is event capturing.Arju Sahu
17. What is temporal dead zone.Arju Sahu
What is Js and why would you use it?Krishan K Yadav
Compare let, var, and const keywords.Krishan K Yadav
Arrow function vs normal function.Krishan K Yadav
Write code which logs the index of a value present in an array.Krishan K Yadav
Tell me the output for following codeKrishan K Yadav
{ let a=1Krishan K Yadav
let b=trueKrishan K Yadav
console.log(a==b)Krishan K Yadav
console.log(a===b)Krishan K Yadav
}Krishan K Yadav
and why?Krishan K Yadav
1. How js works. (answered)Swarnim Mukati
2. Event loop. (partially answered).Swarnim Mukati
3. Hoisting in js with code snippets. (answered)Swarnim Mukati
4. Synchronous and Asynchronous. (answered incorrectly)Swarnim Mukati
5. Operations on array. (not answered)Swarnim Mukati
6. Call, Apply, Bind. (answered incorrectly)Swarnim Mukati
7. Closure in js. (answered incorrectly)Swarnim Mukati
var vs const vs let
-> function scope vs block scope
-> What is closure? - partially correct
-> What are the different ways to access HTML elements in JavaScript? - no answer
-> == vs ===Srikanteshwara Rao
-> 5-‘a’ - wrong answer
-> 5+’a’
-> innerText vs innerHTML - no answer
-> What is hoisting? - correct definition, but couldn’t answer the code snippet
-> What is event loop? - no answer
-> Evaluate 2+5+'3' and 2+’5’+3
-> What is IIFE?
-> What is the o/p of -
const x = { foo : 1};
const output = (function()
{
delete x.foo;
return x.foo;
})();
console.log(output); - correct answer, but stumbled upon further questioning
-> What is the o/p of -
console.log(count);
var count = 10; correct answer, but couldn’t justify
-> What is the o/p of -
console.log(count);
let count = 10; - incorrect
-> What is the o/p of -
console.log(count);
const count = 10; - incorrect
-> inputList = [3, 6, 7, 5, 4] - construct a new array with each element doubled - Sample o/p - [6, 12, 14, 10, 8]
1- Basics of Js : Good
Chander Parkas Time 07:00 - 08:00pm
2- Data types : Good
3- let, var, const : Good
4- temporal dead zone - Good
5- Scope and Scope Chain : Good
6- Hoisting : Good
7- Closure : Good
8- Event loop: Good
9- Call, apply, bind : needs to work on this
1. What is JS, where do we run it, how many threads?
Kanishk Kalyani Time 08:00 - 09:00pm
2. ES5 vs ES6
3. let vs var vs const
4. == vs ===
5. Closures with example
6. How does JS work and process asynchronous code
7. Callback functions
8. Higher order functions
9. Arrow function vs regular function
10. Settimeout vs setinterval
11. Function to add first 10 or n natural numbers and return result.
12. Template literals
13. IIFE
what is JSDarshan shah
What is the DOM?Darshan shah
What's the difference between == and ===Darshan shah
What is Hoisting?Darshan shah
What are the falsy values in JavaScript?Darshan shah
What is an IIFE, what is the use of it?Darshan shah
What is Event Propagation?Darshan shah
What's Event Bubbling?Darshan shah
let vs var vs constDarshan shah
Darshan shah
const person = {
age: 20,
name: 'Ben'
};

const peopleArray = [person, person, person];
peopleArray[1].name = 'Joe';
console.log(peopleArray[0].name);
Darshan shah
Build counter like button and onclick increment value of counterDarshan shah
Given a string, reverse each word in the sentence " welcome to the newton school"Darshan shah
Given two strings, return true if they are anagrams of one another For example: Mary is an anagram of ArmyDarshan shah
. Difference betweeen null and undefined in JS? (clearly answered for null and undefined.)Om Prakash Sao
. Benefits of declaring a variable as null? (Not answered properly)Om Prakash Sao
. Responsive webpages. How to develop responsive webpages.(answered)Om Prakash Sao
. What is hoisting in JS? Explain with example code?(not satisfied with answer)Om Prakash Sao
. Write an example to change content of paragraph on click of button(not done).Om Prakash Sao
. Write a code to print only part of string(not asked).Om Prakash Sao
. Explain DOM. (explained, not satisfactorily)Om Prakash Sao
. What are callback functions? (Not answered clearly)Om Prakash Sao
. What is promises in JS? (Not answered completely)Om Prakash Sao
. Write example of promises. (Not asked)Om Prakash Sao
Edited By Rahul
-What do you know about JavaScript?Chintamani Meher
-What are the topics you know in JavaScript practical implementation?Chintamani Meher
-Is there any compiler required to run the JS code?Chintamani Meher
-Datatypes & Variables in JavaScript.Chintamani Meher
-Difference between var and let keyword.Chintamani Meher
-What is Global Variable?Chintamani Meher
-What is a scope.Chintamani Meher
-What is a Function. Write a sample code.Chintamani Meher
-What is Closure. Explain with an example.Chintamani Meher
-What are the type of pop-ups available in JavaScript.Chintamani Meher
-Alert the current date and time upon clicking on a html button.Chintamani Meher
-JavaScript ArrayChintamani Meher
-for Vs while Vs do-while LoopChintamani Meher
-JavaScript OperatorsChintamani Meher
#ERROR!
null Vs undefined Vs not definedChintamani Meher
i++ Vs ++i (Given a scenario)Chintamani Meher
-What is an Arrow function. Write an example.Chintamani Meher
Difference between let, var and const
1. Difference between let, var and constArpit Goel
2. Difference between == and ===Arpit Goel
3. Output questionArpit Goel
console.log (2 == '2')Arpit Goel
console.log (2 === '2')Arpit Goel
4. Explain map function and filter function in javascriptArpit Goel
5.What is hoisting in JS ?Arpit Goel
6. What are closures in JS ?Arpit Goel
7. What is Arrow function in JavascriptArpit Goel
8. Use of this keyword in JSArpit Goel
9. Output QuestionsArpit Goel
console.log ('1' + '2')Arpit Goel
console.log (1 + 2 + '3')Arpit Goel
console.log (1 + 2 + '3' + 4)Arpit Goel
10. Difference between undefined and nullArpit Goel
11.What is event loop in JS ?Arpit Goel
12. What is call stack in JS ?Arpit Goel
13. What are rest and spread operators in JS ?Arpit Goel
14 What is use of setTimeoutArpit Goel
15. What is use of setIntervalArpit Goel
16. What is callback function in JS ?Arpit Goel
17. Difference between function declaration and function expressionArpit Goel
18. What is IIFEArpit Goel
19. Difference between call, bind and applyArpit Goel
20. What is the use of push and pop method in JS ?Arpit Goel
-What do you know all about JavaScript?Ankit Anand
-Difference between var and let keyword.Ankit Anand
-What is Hoisting? How does hoisting work?Ankit Anand
-What is Closure? Write a sample code in Closure.Ankit Anand
-What is a temporal deadzone?Ankit Anand
-What is Shadowing?Ankit Anand
-What is the use of Strict mode?Ankit Anand
-What are the types of pop-ups available in JavaScript?Ankit Anand
-Write a code using prompt pop-ups available in JavaScript.Ankit Anand
1. var, let, and const in js?
2. Hoisting in js?
3. console.log(a)
var a =10;
4. console.log(a)
let a =10;
5. const obj = {
name:'manoj'
}
const obj1 = {
name:'Rakhi'}
obj =obj1
console.log(obj);
6. const obj = {
name:'manoj'
}
obj.name= "Rakhi"
obj.name;
7. == and === ?
8. false == 0?
9. null and undefined?
10.null ==undefined?
12. functions in js?
13. closures in js?
14. []===[] and []==[]?
15 IIFE?
16. write the function for reversing the string in JS.
17. splice and splice method?
18. function foo() {rakhi mishra
let x = (y = 0);
x++;
y++;
return x;
}
console.log(foo(), typeof x, typeof y);
19. function main() {
console.log("A");
setTimeout(function print() {
console.log("B");
}, 0);
console.log("C");
}
main();
20. function main() {
console.log("A");
setTimeout(function print() {
console.log("B");
}, 0);
setTimeout(function print() {
console.log("D");
}, 1000);
console.log("C");
}
main();
21. console.log(0.1 + 0.2 === 0.3);
22. Arrow functions?
What do you know about JavaScript?Monojit Das
-What are the topics you know in JavaScript practical implementation?Monojit Das
What is the difference between HTML5 and HTML.Monojit Das
JavaScript PromisesMonojit Das
-Callbacks. Write a sample code.Monojit Das
What is Scope chain. Write a sample code.Monojit Das
SetTimeout Vs SetIntervalMonojit Das
what is call back hellMonojit Das
web storagesMonojit Das
what is temporal dead zoneMonojit Das
write a code to count the words in a sentenseMonojit Das
write a code to swap a numberMonojit Das
Questions on projects and work experience.
HTML
1. What is Doctype HTML?
2. What is difference between block and inline?
3. What are the use of meta tags?
4. What are the use of all three thing HTML, css and Javascript?
5. What are HTML attributes?
6. What are list and tables in HTML?
7. What is the significance of Head and Body tag in HTML?
8. Approach related to how to structure HTML code?
CSS
1. Box model in CSS?
2. Difference between flex box and grid?
3. What are the difference types of selectors in CSS?
4. What are Pseudo elements and Pseudo classes?
5. Difference between display: none, visibility: hidden and opacity: 0?
JAVASCRIPT
1. What is javascript. What javascript do in general?
2. Asynchronous and synchronous difference?
3. console.log('1');
setTimeout(() => {
console.log("2");
}, 1000);
console.log("3");
4. What is hoisting?
5. console.log(a);
console.log(b);
var a = 10;
let b = 20;
6. What is closure?
7. Difference between var and let keywords?
8. What are IIFEs and explain with an example where they can be used?
9. What's the difference between a variable that is: null, undefined, or undeclared?
10. Difference between “==” and “===” operators.
11. Explain “this” keyword.
12. What is DOM?
Introduce yourself.krishna k yadav
What is Async in JS?
What is closure in JS?krishna k yadav
How do we give parent-child relation in css pseudo class?aejit tripathi
What are the new features in HTML5 ?aejit tripathi
Do you know about symentic tags?aejit tripathi
New features in ES6 ?aejit tripathi
What are arrow functions ?aejit tripathi
What are anonymous function ?aejit tripathi
Diff between arrow and anonymous function /aejit tripathi
What are instantly invoke functionaejit tripathi
What do we need a meta tag in HTML5 ?aejit tripathi
What do we use viewport in meta tag?aejit tripathi
What is hosting in js, give me an example ?aejit tripathi
What is flex property and why do we use it, some examples? /aejit tripathi
What is grid property ?aejit tripathi
What is position property ?aejit tripathi
Tell me css box structure ?aejit ttripath


Akhil Rayila


Hoisting in js.             
Example of hoisting
Closures in js
Example of Closure
Difference between map and filter
Difference between var, let, const
Difference between ==& ===
print the sum of integers from an array.
implement counter increment and decrement functionality

Tanish shah

FlexBox

Grid

Promises

Callbacks

Closures

Async Await

Media Queries

No comments:

Post a Comment

ads vert

Basic HTML Tables - Layout, HTML Tables, Attributes, Aside, Footer, Tr tag, Td tag, Th tag, Tbody

  Basic HTML Tables - Layout, HTML Tables, Attributes, Aside, Footer, Tr tag, Td tag, Th tag, Tbody < table >      < thead >    ...