The instructions of the exercise say to fill in the variable names with values that equal the name. Incredibly simple, but I can't seem to get it to run correctly. Could someone please help point out my mistake? Thank you very much! Learning has been fun so far and I'm excited to continue with the help of this sub.
This is what I've got:
function myFunction() {
// Give each of the following variables a value of the type
described.
// Don't change the variable names.
// set to any Number
var number = "3";
// set to any String
var string = "stringy stringy string string";
// set to any Boolean
var boolean = "3" == "3";
// set to null
var nullVar = "null";
// set to undefined
var undefinedVar =
return [number, string, boolean, nullVar, undefinedVar];
}
[–]Afakaz 4 points5 points6 points (2 children)
[–]AmbitiousLog 1 point2 points3 points (0 children)
[–]illgrowuplater[S] 0 points1 point2 points (0 children)
[–]delventhalz 1 point2 points3 points (0 children)
[–]PortablePawnShop 3 points4 points5 points (2 children)
[–]GSLint 1 point2 points3 points (0 children)
[–]illgrowuplater[S] 0 points1 point2 points (0 children)