Hacker News new | ask | show | jobs
by maximusprime 5286 days ago
You're conveniently ignoring the fact that the + operator also means string concatenation.

Javascript thinks to itself 'hello' string concatenated with a 1 value.