0% found this document useful (0 votes)
2 views8 pages

? JavaScript Complete Topics

The document is a comprehensive guide on JavaScript, covering essential topics such as variables, data types, operators, control statements, loops, functions, and more. It also includes sections on the Document Object Model (DOM), events, form validation, and modern ES6 features. Additionally, it highlights important multiple-choice questions and common differences in JavaScript concepts.

Uploaded by

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

? JavaScript Complete Topics

The document is a comprehensive guide on JavaScript, covering essential topics such as variables, data types, operators, control statements, loops, functions, and more. It also includes sections on the Document Object Model (DOM), events, form validation, and modern ES6 features. Additionally, it highlights important multiple-choice questions and common differences in JavaScript concepts.

Uploaded by

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

📘 JavaScript Complete Topics (Exam-Oriented)

1. Introduction
 What is JavaScript?
 History of JavaScript
 Features of JavaScript
 Client-side vs Server-side JavaScript
 JavaScript Engine

2. Adding JavaScript
 Inline JavaScript
 Internal JavaScript
 External JavaScript
 <script> Tag
 defer
 async

3. Variables ⭐⭐⭐⭐⭐
 var
 let
 const
 Variable Naming Rules
 Scope (Global, Local, Block)
 Hoisting (Basic)

4. Data Types ⭐⭐⭐⭐⭐


 Number
 String
 Boolean
 Undefined
 Null
 Object
 Array
 BigInt (Basic)
 Symbol (Basic)

5. Operators ⭐⭐⭐⭐⭐
 Arithmetic
 Assignment
 Comparison
 Logical
 Increment/Decrement
 Ternary
 Bitwise (Basic)
 typeof
 delete
 in
 instanceof (Basic)

6. Type Conversion
 Implicit Conversion
 Explicit Conversion
 Number()
 String()
 Boolean()
 parseInt()
 parseFloat()

7. Control Statements ⭐⭐⭐⭐⭐


 if
 if-else
 else-if
 Nested if
 switch
8. Loops ⭐⭐⭐⭐⭐
 for
 while
 do-while
 for...in
 for...of (Basic)
 break
 continue

9. Functions ⭐⭐⭐⭐⭐
 Function Declaration
 Function Expression
 Arrow Function (Basic)
 Parameters
 Arguments
 Return Statement
 Anonymous Function
 Callback Function (Basic)

10. Strings
 String Methods
 length
 charAt()
 indexOf()
 slice()
 substring()
 replace()
 split()
 trim()
 toUpperCase()
 toLowerCase()
11. Arrays ⭐⭐⭐⭐⭐
 Array Creation
 Access Elements
 push()
 pop()
 shift()
 unshift()
 splice()
 slice()
 concat()
 join()
 sort()
 reverse()

12. Objects ⭐⭐⭐⭐


 Object Creation
 Properties
 Methods
 Dot Notation
 Bracket Notation

13. DOM (Document Object Model) ⭐⭐⭐⭐⭐


 getElementById()
 getElementsByClassName()
 getElementsByTagName()
 querySelector()
 querySelectorAll()
 innerHTML
 innerText
 textContent
 value
 style
14. Events ⭐⭐⭐⭐⭐
 onclick
 ondblclick
 onmouseover
 onmouseout
 onkeydown
 onkeyup
 onload
 onchange
 onsubmit

15. Form Validation


 Required Field
 Email Validation
 Number Validation
 Password Validation

16. BOM (Browser Object Model)


 window
 document
 navigator
 screen
 history
 location

17. Dialog Boxes


 alert()
 confirm()
 prompt()

18. Timing Functions


 setTimeout()
 setInterval()
 clearTimeout()
 clearInterval()

19. Math Object


 [Link]()
 [Link]()
 [Link]()
 [Link]()
 [Link]()
 [Link]()

20. Date Object


 new Date()
 getDate()
 getMonth()
 getFullYear()
 getDay()
 getHours()
 getMinutes()

21. Error Handling (Basic)


 try
 catch
 finally
 throw

22. JSON (Basic)


 [Link]()
 [Link]()
23. Local Storage & Session Storage
 localStorage
 sessionStorage
 setItem()
 getItem()
 removeItem()
 clear()

24. ES6 Features (Basic)


 let
 const
 Arrow Functions
 Template Literals
 Destructuring (Basic)
 Spread Operator (Basic)

🎯 सबसे Important MCQ Topics (★★★★★)


1. var vs let vs const
2. Data Types
3. Operators (== vs ===)
4. if-else, switch
5. Loops
6. Functions
7. Arrays
8. String Methods
9. DOM Methods
10. Events
11. Form Validation
12. Dialog Boxes
13. Timing Functions
14. Local Storage vs Session Storage
🔥 सबसे ज़्यादा पूछे जाने वाले Differences
 var vs let vs const
 == vs ===
 null vs undefined
 for vs while
 innerHTML vs innerText
 slice() vs splice()
 alert() vs confirm() vs prompt()
 localStorage vs sessionStorage
 getElementById() vs querySelector()
 for...in vs for...of

You might also like