Create two variables, fruitName
and fruitQuantity
. Assign the value apple to fruitName
and 5 to fruitQuantity
, then log the value of fruitName
and fruitQuantity
to the console in the given order. Next, update the value of fruitQuantity
to 7 and log the updated value to the console.