Relative Content

Tag Archive for language-design

Could it be possible to add the integer type to the ECMAScript standard?

In JavaScript, every number you will ever use will always be represented with what C programmer would call a double. The official type is I believe number. If I recall correctly, that fact was mentioned by Google as a “fundamental” problem with JavaScript and one of the reason why they wanted to have clean break with Dart. Now, I can’t help but wonder :

Could it be possible to add the integer type to the ECMAScript standard?

In JavaScript, every number you will ever use will always be represented with what C programmer would call a double. The official type is I believe number. If I recall correctly, that fact was mentioned by Google as a “fundamental” problem with JavaScript and one of the reason why they wanted to have clean break with Dart. Now, I can’t help but wonder :

Could it be possible to add the integer type to the ECMAScript standard?

In JavaScript, every number you will ever use will always be represented with what C programmer would call a double. The official type is I believe number. If I recall correctly, that fact was mentioned by Google as a “fundamental” problem with JavaScript and one of the reason why they wanted to have clean break with Dart. Now, I can’t help but wonder :