Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Osiris
on March 22, 2015
|
parent
|
context
|
favorite
| on:
Java is Pass-by-Value, Dammit
Yes, but the way function parameters are passed is the same. I wrote the swap function in JavaScript and it behaves exactly like the Java version, as opposed to the true "pass by reference" examples.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: