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

Java Script

JavaScript is a high-level programming language used for creating interactive web pages. It utilizes variables to store information, with the syntax involving keywords like 'let' for variable creation and assignment of values. The document also explains data types, specifically focusing on functions and their components such as parameters and return statements.

Uploaded by

danyleton
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)
2 views2 pages

Java Script

JavaScript is a high-level programming language used for creating interactive web pages. It utilizes variables to store information, with the syntax involving keywords like 'let' for variable creation and assignment of values. The document also explains data types, specifically focusing on functions and their components such as parameters and return statements.

Uploaded by

danyleton
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

Daniel Christian
June 25, 2026

Variables and Data Types


JavaScript is a lightweight, interpreted, high-level programming language
primarily used to make web pages interactive and dynamic.

Variables
A variable is like a box that stores information!

let name = "Alex"

Part Meaning
let Create a new variable
name The variable name
= Assign a value
”Alex” The value stored
Think of it like a labeled box:

• let = get me a box

• name = label it ”name”

• = ”Alex” = put ”Alex” inside!

1
Data Types

Thing Name Explanation


function Keyword Tells JavaScript ”I’m creating a function”
addNumbers Function name What you call the function
(a, b) Parameters Input placeholders inside the function
{} Function body The code that runs return
Return statement Sends value back out

You might also like