Leading zero means integer is in octal

 A leading zero can mean an integer is in octal in JavaScript.


I learnt this when ESList warned about a time (in milliseconds) I had written as '0960'.


There are more tips at: [bbingo.xyz/t](http://bbingo.xyz/t)


There are more tips at: bbingo.xyz/techtips/

Comments

Popular posts from this blog

webkit-tap-highlight-color in CSS

Steve Jobs quotes