Answered step by step
Verified Expert Solution
Question
1 Approved Answer
create and print a javascript variable for each type: Create a: Boolean variable called isWeekend set it to 'false' Number variable called theNumber that is
create and print a javascript variable for each type:
Create a:
Boolean variable called isWeekend set it to 'false'
Number variable called theNumber that is bigger than 37
String variable called theMessage that is longer than 11 characters
Create a new Date variable called theDate - use new Date() to create a Date variable.
Create a List called bootCampers with at least 3 bootcamper's names in it.
The typeof operator returns the type of a variable.
Change your program to also print out the type of each variable.
For example the code below prints true:
var number = 12; console.log(typeof number)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started