Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
postalrat
on Aug 15, 2023
|
parent
|
context
|
favorite
| on:
Firefox finally outperforming Google Chrome in Sun...
I don't assume it's implemented like "next = array[2...]". I don't even know what that means.
mmastrac
on Aug 15, 2023
[–]
Sorry, I assumed that most people could understand the pseudocode syntax for a subarray operation. In Javascript, this is:
array.slice(2)
depressedpanda
on Aug 15, 2023
|
parent
[–]
I understood it, without even thinking about it. In my opinion it's more elegant than the real syntax, and I didn't even realize it wasn't real JavaScript until this comment thread made me look again.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: