Re:JavaScript Temporal Is Coming
by recursive on Friday January 31, 2025 @12:30PM
(#42889628)
Only if you haven't already declared the variable. e.g.
My point is that the `x = 'hello'` part is an assignment, and an expression, and has the exact same semantics regardless of whether you use that expression as a statement. So, assignments would seem to be expressions.
[ Parent
| on HN ]
There are no comments on this comment yet.