Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

javascrippt notes

Rating
-
Sold
-
Pages
5
Uploaded on
12-08-2025
Written in
2025/2026

it is very useful for those student who went to build their career.

Institution
Course

Content preview

I’ll make you very lengthy, detailed JavaScript notes covering core concepts, properties,
and functions, almost like a complete study material for students or beginners. I’ll structure
it so it’s easy to read, but also long and rich in information.




📚 JavaScript — Full Detailed Notes
1. Introduction to JavaScript
JavaScript (JS) is a high-level, interpreted programming language mainly used for making
websites interactive. It can:

• Add dynamic content to HTML
• Control multimedia
• Animate images and graphics
• Communicate with servers (via APIs)

Type: Single-threaded, prototype-based, dynamically typed. Runs on: Browsers (client-side)
and servers (Node.js).




2. JavaScript Basics
2.1 Variables

Variables store data values.

Keywords:

• var — Function-scoped, can be redeclared (old way)
• let — Block-scoped, cannot be redeclared in same scope
• const — Block-scoped, constant value
let name = "Ayesha";
const age = 22;

, 2.2 Data Types

1. Primitive Types
a. String
b. Number
c. Boolean
d. Null
e. Undefined
f. Symbol (ES6)
g. BigInt
2. Non-Primitive Types
a. Objects
b. Arrays
c. Functions
let student = { name: "Ali", age: 20 };
let colors = ["red", "blue", "green"];




2.3 Operators

• Arithmetic: +, -, *, /, %, **
• Assignment: =, +=, -=
• Comparison: ==, ===, !=, !==, <, >, <=, >=
• Logical: &&, ||, !
• Ternary: condition ? value1 : value2



3. Functions
3.1 Function Types

1. Function Declaration
function greet() {
console.log("Hello World");
}


2. Function Expression
const greet = function() {
console.log("Hello World");

Written for

Institution
Course

Document information

Uploaded on
August 12, 2025
Number of pages
5
Written in
2025/2026
Type
Class notes
Professor(s)
Ayesha ahmd
Contains
All classes

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
ayeshaahmed6

Also available in package deal

Get to know the seller

Seller avatar
ayeshaahmed6 One for All and All for One
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
8 months
Number of followers
0
Documents
8
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions