Swapna Kumar Panda
Swapna Kumar Panda

@swapnakpanda

13 تغريدة 63 قراءة Oct 30, 2021
JavaScript Interview Questions
Series: 1️⃣
Level: Beginner
Topics:
1️⃣ Data Types
2️⃣ Boolean
3️⃣ Number
4️⃣ Logical Operators
5️⃣ Comparison Operators
6️⃣ Arithmetic Operators
1️⃣ Data Types
✪ What all data types does JavaScript provide?
✪ How to find out data type of a value? (which operator to use)
✪ What is type coercion?
✪ Any significant difference between "undefined" and "null"?
✪ What is the type of undefined?
✪ What is the type of null?
2️⃣ Boolean
✪ What boolean literals does JavaScript provide?
✪ What all in JavaScript are falsy?
✪ How to convert a value to a boolean?
3️⃣ Number
✪ How does JavaScript store numbers in memory?
✪ How to convert a value to a number?
✪ Which all base of numbers JavaScript support?
✪ How to write binary numbers?
✪ How to write octal numbers?
✪ How to write hexadecimal numbers?
✪ How to convert a decimal into binary/octal/hexadecimal?
✪ How to convert a binary/octal/hexadecimal into decimal?
✪ How does parseInt function operate?
✪ What is NaN?
✪ Which operations will result into NaN?
✪ How to check if a value is NaN?
✪ What does NaN === NaN return?
✪ What is Infinity and -Infinity?
✪ Which operations will result into Infinity?
✪ What is a numeric separator? Why is it used?
4️⃣ Comparison Operators
✪ What all comparison operators JS has?
✪ What is the data type of result of comparison operators?
✪ How does an equality operator behave?
✪ What is a strict equality operator?
✪ What is the difference between == and ===?
5️⃣ Logical Operators
✪ How do && and || operators operate?
✪ Why are && and || operators called short-circuit?
✪ How does a logical NOT operator operate?
✪ What value is Nullish in JavaScript?
✪ How does ?? operator operate?
✪ What is the difference between || and ??
6️⃣ Arithmetic Operators
✪ How do unary + and - operators operate?
✪ How do binary + and - operators operate?
✪ Which operator to use to exponentiate?
✪ Which operator to use to find remainder?
✪ What is the difference between pre increment and post increment?
✪ What is the difference between pre decrement and post decrement?
✪ What is the precedence of arithmetic operators?
** Practice all these and be prepared for the next series of interview questions. COMING SOON.
The next thread will contain questions on these topics
1️⃣ Variable Naming
2️⃣ Variable Declaration
3️⃣ Variable Scope
4️⃣ Assignment Operators
5️⃣ Destructuring Assignment
6️⃣ Spread Operator
Stay tuned.

جاري تحميل الاقتراحات...