Basic JavaScript - Nest one Array within Another Array

Tell us what’s happening:
I nested my array so I cant figure out what’s wrong…

Your code so far

// Only change code below this line
const myArray = [["my school" ,sucks]];

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Nest one Array within Another Array

Link to the challenge:

Did you define a variable named sucks somewhere in your code?

1 Like

Oh my thank you!
Its supposed to be a string but I guess I’ll define it because school doesn’t “suck” as in sarcastic - it SUCKS! :laughing:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.