📩 Get free ebooks in these two websites
👉https://freecomputerbooks.com/
👉https://www.onlineprogrammingbooks.com/
👉https://freecomputerbooks.com/
👉https://www.onlineprogrammingbooks.com/
How to create fully responsive product card using pure HTML, CSS.
https://dev.to/kunaal438/how-to-create-fully-responsive-product-card-using-pure-html-css-12hm
https://dev.to/kunaal438/how-to-create-fully-responsive-product-card-using-pure-html-css-12hm
RAM is ____ and ____?
Anonymous Quiz
15%
Volatile, Parmanent
15%
Non Volatile, Temporary
56%
Volatile, Temporary
15%
Non Volatile, Parmanent
Time to use your coding skill and win a coding t-shirt 👕
Watch detailed video: https://youtu.be/zrEPGIBpkCQ
Watch detailed video: https://youtu.be/zrEPGIBpkCQ
let obj = Object.freeze({});
obj.num = 34;
console.log(obj.num);
obj.num = 34;
console.log(obj.num);
Anonymous Quiz
24%
Null
32%
34
40%
Undefined
4%
No output
Where is the correct place to insert a JavaScript?
Anonymous Quiz
22%
body
36%
head
42%
both body and head
JavaScript Interview Question
Q. Difference between “ == “ and “ === “ operators.
Ans. Both are comparison operators. The difference between both the operators is that,“==” is used to compare values whereas, “ === “ is used to compare both value and types.
Example -
var x = 2;
var y = "2";
(x == y) // Returns true since the value of both x and y is the same
(x === y) // Returns false since the typeof x is "number" and typeof y is "string"
Q. Difference between “ == “ and “ === “ operators.
Ans. Both are comparison operators. The difference between both the operators is that,“==” is used to compare values whereas, “ === “ is used to compare both value and types.
Example -
var x = 2;
var y = "2";
(x == y) // Returns true since the value of both x and y is the same
(x === y) // Returns false since the typeof x is "number" and typeof y is "string"
JavaScript Interview Question
Q. Explain Higher Order Functions in javascript.
Ans. Functions that operate on other functions, either by taking them as arguments or by returning them, are called higher-order functions.
Higher order functions are a result of functions being first-class citizens in javascript.
Examples of higher order functions:
function higherOrder2() {
return function() {
return "Do something";
}
}
var x = higherOrder2();
x() // Returns "Do something"
Q. Explain Higher Order Functions in javascript.
Ans. Functions that operate on other functions, either by taking them as arguments or by returning them, are called higher-order functions.
Higher order functions are a result of functions being first-class citizens in javascript.
Examples of higher order functions:
function higherOrder(fn) {
fn();
}
higherOrder(function() { console.log("Hello world") })
function higherOrder2() {
return function() {
return "Do something";
}
}
var x = higherOrder2();
x() // Returns "Do something"
What is the necessary condition to be checked before deleting element from stack?
Anonymous Quiz
40%
Overflow
53%
Underflow
7%
Rear value