Today I Learned - Rocky Kev

Tagged “ecmascript”

  1. TIL JS Coercion

    In JavaScript, the + operator is used for both numeric addition and string concatenation. When you 'add' a number to a string the interpreter converts your number to a string and concatenates both together.

See all tags.