Error in example given
In (Basic JavaScript: Store Multiple Values in one Variable using JavaScript Arrays)
Example given is var sandwich = ["peanut butter", "jelly", "bread"].
Whereas solution to challenge is var sandwich = ["peanut butter", "jelly", "23"];
Shouldn't a semicolon end the variable in the example and not a fullstop?
right
It must be var sandwich =["peanut butter","jelly",23]; because 23 is not a string it's a bumber
Var sandwich =["peanut butter", "jelly", 23];
On Wed, Feb 2, 2022, 18:45 Riyo Zaki @.***> wrote:
right
— Reply to this email directly, view it on GitHub https://github.com/EQuimper/CodeChallenge/issues/4#issuecomment-1028075569, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUJP6T5BLRPMD2HV6YM26VTUZFGRRANCNFSM4MQUM6NA . You are receiving this because you are subscribed to this thread.Message ID: @.***>