Complete the code to store the number 10 in a variable named score.
let score = [1];We use let score = 10; to store the number 10 in the variable score.
Complete the code to change the value of the variable score to 20.
score [1] 20;
Use = to assign a new value to a variable.
Fix the error in the code to declare a variable named name with the value 'Alice'.
let [1] = 'Alice';
Variable names cannot start with a number or contain spaces. name is a valid variable name.
Fill both blanks to create a variable that stores the sum of 5 and 3.
let total = [1] [2] 3;
We add 5 and 3 using the plus sign + and store it in total.
Fill all three blanks to create an object with a variable key and value.
let [1] = 'color'; let [2] = 'blue'; let obj = { [[1]]: [2] };
We create variables key and value to hold strings, then use them to make an object with a key-value pair.
