Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lost_my_pwd
on Feb 4, 2014
|
parent
|
context
|
favorite
| on:
A Reintroduction to JavaScript
Small problem with the conditional using the array assigment. If a value in the array is not "truthy", the loop will stop at that element -- e.g. ['a', 0, 'b', 'c'] will only print out the first element in your example.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: