Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zbentley
on June 21, 2019
|
parent
|
context
|
favorite
| on:
Why ['1', '7', '11'].map(parseInt) returns [1, NaN...
Optional/defaulted function arguments are an extremely useful feature of many programming languages; are you arguing that they are always harmful?
JoeNr76
on June 21, 2019
[–]
Point me in my remark where I said that they are harmful. I was answering the question what the syntactic sugar was.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: