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. Quote
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"]; Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.