Skip to content Skip to sidebar Skip to footer
Showing posts with the label Ecmascript 2016

Simple Es7 Decorator With Babel

I can not run this code: https://www.npmjs.com/package/core-decorators#readonly I use gulp and babe… Read more Simple Es7 Decorator With Babel

Succinct/concise Syntax For 'optional' Object Keys In Es6/es7?

There are already a lot of cool features in ES6/ES7 for defining Javascript objects. However, the f… Read more Succinct/concise Syntax For 'optional' Object Keys In Es6/es7?

Typeerror: Cannot Mix Bigint And Other Types, Use Explicit Conversions

I am trying to generate a 20 digit random number: let code = Math.floor(10000000000000000000n + Mat… Read more Typeerror: Cannot Mix Bigint And Other Types, Use Explicit Conversions