Search
Generic filters
Exact matches only
  • JavaScript plus sign in front of variable

    9th August 2016

    Javascript

    javascript category codehaven

    It looks so wrong!
    But the extra plus sign converts the variable to a number if its a string.

    Was this code snippet helpful?

    Comment on this Code Snippet?