JS Guide
HomeQuestionsSearchResources
Search

Built for developers preparing for JavaScript, React & TypeScript interviews.

ResourcesQuestionsSupport
HomeQuestionsSearchProgress
HomeQuestionsjavascript

javascript

Core JavaScript concepts, ES6+, and language fundamentals

Your Progress

0 of 5 completed

0%

5 Questions

junior Level
1
What is the difference between var, let, and const in JavaScript?
junior
variables
var is function-scoped and can be redeclared, let is block-scoped and can be reassigned, const is block-scoped and cannot be reassigned after initialization.
2
What are the primitive data types in JavaScript?
junior
data-types
JavaScript has 7 primitive data types: string, number, bigint, boolean, undefined, null, and symbol.
3
What is the difference between map(), filter(), and reduce() array methods?
junior
arrays
map() transforms each element and returns a new array of the same length, filter() returns elements that pass a test, and reduce() accumulates array elements into a single value.
4
What is the difference between == and === in JavaScript?
junior
operators
== performs type coercion before comparison (loose equality), while === compares both value and type without coercion (strict equality).
5
What is the difference between arrow functions and regular functions?
junior
functions
Arrow functions have a shorter syntax, don't have their own 'this' binding (they inherit from the enclosing scope), cannot be used as constructors, and don't have access to the 'arguments' object.