Coding Omega
74 subscribers
8 photos
23 files
69 links
In this telegram channel you will get
• source code
• useful links
• quizzes
• pdf

So what are you thinking JOIN US NOW!
Download Telegram
📩 Get free ebooks in these two websites

👉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
Time to use your coding skill and win a coding t-shirt 👕

Watch detailed video: https://youtu.be/zrEPGIBpkCQ
let obj = Object.freeze({});
obj.num = 34;
console.log(obj.num);
Anonymous Quiz
24%
Null
32%
34
40%
Undefined
4%
No output
let a = parseInt("39", 10);
alert(a);
Anonymous Quiz
45%
39
5%
390
45%
3910
5%
NaN
Hey guys, make sure to read this!

https://javascript.info/class
Where is the correct place to insert a JavaScript?
Anonymous Quiz
22%
body
36%
head
42%
both body and head
Cool loading animation

Watch now: https://youtu.be/_YVt8d54DjU
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"
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 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
JavaScript Interview Question

Q.
What are the advantages and disadvantages of JavaScript?

Ans.
Advantages -
1. Server interaction is less
2. Feedback to the visitors is immediate
3. Interactivity is high
4. Interfaces are richer

Disadvantages -
1. No support for multithreading
2. No support for multiprocessing
3. Reading and writing of files is not allowed
4. No support for networking applications
Website header design in html css

Click here to watch: https://youtu.be/FJHYrbZrECs
JavaScript Interview Question

Q.
What is NaN property in JavaScript?

Ans. NaN property represents “Not-a-Number” value. It indicates a value which is not a legal number.

typeof of a NaN will return a Number .

To check if a value is NaN, we use the isNaN() function,

Note- isNaN() function converts the given value to a Number type, and then equates to NaN.
isNaN("Hello")  // Returns true
isNaN(345) // Returns false
isNaN('1') // Returns false, since '1' is converted to Number type which results in 0 ( a number)
isNaN(true) // Returns false, since true converted to Number type results in 1 ( a number)
isNaN(false) // Returns false
isNaN(undefined) // Returns true