Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Fortunately this one has the easiest answer ever... time to blow his mind with indexing by zero 😲
-
lotd79277y"a", 'b'... K, I've seen enough.
Return response(40, 'error exists between keyboard and chair.'); -
@BrokeTheInteger
Actually, it has a closing parentheses ( ")" )instead of a closing bracket ( "]" ), so even changing the [console.log(Array[1])] to [console.log(Array[0])] would not fix his issue -
@RiderExMachina I noticed that too, but syntactical errors are easier to repair after the fact than a fundamental lack of indexing knowledge 😛
-
beercules227yLooking at the image:
"Hmm ok, can happen to someone who doesn't code often."
Reading the first comment, looking again:
"Oh god...OH GOD" -
Koolstr27927yThat is painful to look at. And take seriously. Jeez some people need some real heavy guidance thrown at their heads
-
Koolstr27927y@laureenpe my question is why you still have more ++'s on this post than you do for your entire account lol
-
devios157777yEverybody deserves a chance to learn programming.
Except this guy. Please someone take his computer away before he hurts himself. -
DZetko3487yRegardless of the fact that he hasn't defined the Array variable, wouldn't this be invalid since Array is a type in JavaScript?
Hmm....
undefined