Hi,
I’m working the basic exercise “Use an Array to Store a Collection of Data”. My code is let yourArray = [‘str’, 22, 'three’, true, false]. Can someone tell me why this doesn’t work?
Thanks for your help,
Clark
Hi,
I’m working the basic exercise “Use an Array to Store a Collection of Data”. My code is let yourArray = [‘str’, 22, 'three’, true, false]. Can someone tell me why this doesn’t work?
Thanks for your help,
Clark
Hi @clarkxzhang, your code ran fine for me. Be careful of special characters like ‘
and replacing them with non-special characters like '
and "
.
Let me know if that helps or if you have more questions!