tmoflash Posted March 14, 2018 Report Posted March 14, 2018 Hello, I am not 100% sure about this, so apologies in advance if I am. However, as I am groing theough the JavaScript training course - Ch8 Arrays, objects and arrays pt. 4 - Q1. It is asking to find the "false statement" about arrays. If you look at this screenshot: https://prnt.sc/ir5wzj Creating an array: var cars = ["Audi", "Ford", "Jeep"] <== this is not the "correct answer" however, it is missing the semicolon at the end of the statement, which made me think it was the correct or incorrect answer in this case.
tmoflash Posted March 20, 2018 Author Report Posted March 20, 2018 It looks like to me there are 2 answers. This is the correct answer: http://prntscr.com/itv7z3 However, from what I can tell is, this is also the right answer: http://prntscr.com/itv8kb . Because it is missing the semicolon Creating an array: cars = ["Audi", "Ford", "Jeep"];
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now