1. Confirm and prompt
We can make pop-up boxes appear!
confirm("I am ok");//yes or no
prompt("Are you ok?");//input sth
2. Data types
a. numbers (e.g. 4.3
, 134
)
b. strings (e.g. "dogs go woof!"
,"JavaScript expert"
)
c. booleans (e.g. false
, 5 > 4
)