Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> What is a "variable" if not something that varies?

If I define `function f(x) { ... }`, even if I don't reassign x within the function, the function can get called with different argument values. So from the function's perspective, x takes on different values across different calls/invocations/instances.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: