JavaScript Recipes interesting problems/concepts from research, tutorials, mentor sessions, peer discussions, requested problem explainations, etc.
Variable and Datatype Questions
What is a variable?
Click to see answer
<dd><i> A <b>variable</b> is a name attached to a value. </i></dd> <dd><i> A <b>variable</b> stores and keeps track of information within a program. </i></dd>Click to see additional questions
Is this an addtional question?
Yes, this is an additional question! Click to see example
var redFruit = 'apple'; console.log(redFruit) //-> apple let yellowFruit = 'banana'; console.log(yellowFruit) //-> banana const greenFruit = 'kiwi' console.log(greenFruit) //-> kiwi