Joined October 2013
·

Renato S. Martins

Switzerland
·
·

Posted to Get Lazy in javascript coding over 1 year ago

String to Number conversion: prepend a plus sign.

var num = +'100'

Nice! I never really noticed it since I use CoffeeScript to extend Backbone classes... http://coffeescript.org/#classes

Achievements
67 Karma
0 Total ProTip Views