Share your repls and programming experiences

← Back to all posts
My Answers
pannylewis (3)

function exerciseOne(){
// On line 3, create a variable named 'myName' and assign it a string containing your name:
var myName = "Panny";

// Please write answer above
return myName
}

function exerciseTwo(){
// On line 11, create a variable named 'tripsAroundTheSun' and assign your age as a number:
var tripsAroundTheSun = 49;

// Please write answer above
return tripsAroundTheSun
}

function exerciseThree(){
// On line 19, create a variable named 'pineappleOnPizza' and assign it a Boolean of whether or not you think pineapple belongs on pizza.
var pineappleOnPizza = true;

// Please write answer above
return pineappleOnPizza
}