0% found this document useful (0 votes)
12 views10 pages

JavaScript Infosys Complete Interview Bundle

The document provides an overview of JavaScript, covering its features, differences from Java, and how it operates in browsers. It discusses variables, data types, functions, closures, async programming, advanced concepts like the event loop, and objects. Additionally, it includes multiple-choice questions and coding challenges related to JavaScript fundamentals and concepts.

Uploaded by

KrishnaKumarDeep
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views10 pages

JavaScript Infosys Complete Interview Bundle

The document provides an overview of JavaScript, covering its features, differences from Java, and how it operates in browsers. It discusses variables, data types, functions, closures, async programming, advanced concepts like the event loop, and objects. Additionally, it includes multiple-choice questions and coding challenges related to JavaScript fundamentals and concepts.

Uploaded by

KrishnaKumarDeep
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

JavaScript Basics

What is JavaScript?
Features of JavaScript
Difference between JS and Java
How JavaScript works in browser
Variables & Data Types
var vs let vs const
Primitive and non-primitive types
Type coercion
Functions & Scope
Function declaration vs expression
Arrow functions
Scope and lexical environment
Closures & Hoisting
What is closure with example
Hoisting of variables and functions
Async JavaScript
Callbacks
Promises
async/await
Advanced Concepts
Event loop
Call stack
Microtask & macrotask queue
Objects & Prototypes
Prototype chain
this keyword
bind, call, apply
JavaScript MCQs
1. JavaScript is single-threaded – True
2. const variable can be reassigned – False
3. === checks type and value – True
Coding Questions
Reverse a string
Check palindrome
Find duplicate elements in array
Implement debounce function
JavaScript Quick Revision
JS is interpreted & compiled
Closures preserve scope
Promises handle async
Event loop manages async execution

You might also like