Create static constants in ES6 / ECMAScript2015
The new ECMAScript2015 brings a lot of new funcionality but there’s something that is not possible without doing a little workaround. Let’s see the code Now you can use the constant just like this
The new ECMAScript2015 brings a lot of new funcionality but there’s something that is not possible without doing a little workaround. Let’s see the code Now you can use the constant just like this