Javascript
Javascript
YASHIK
GARGI
MAYANK
Index
JavaScript datatypes
Control statement
dialogue box
Data types
JavaScript has 8 Datatypes :
String
Number
Bigint
Boolean
Undefined
Null
Symbol
Object
String
• Prompt : A prompt box is often used if you want the user to input a value before
entering a page. When a prompt box pops up, the user will have to click either “OK”
or “Cancel”
• Confirm : A confirm box is often used if you want the user to verify or accept
something. When a confirm box pops up, the user will have to click either “OK” or
“Cancel” to proceed.