Skip to content

Instantly share code, notes, and snippets.

@redradist
Created September 12, 2021 12:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save redradist/d417a961a6a9581671e9ca4834d258a9 to your computer and use it in GitHub Desktop.
Save redradist/d417a961a6a9581671e9ca4834d258a9 to your computer and use it in GitHub Desktop.
JavaScript string and number coercion
let y = 8;
...
y += "233"; // Possible error behaviour
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment