We can use **, exponentiation expression now.
Looking into the ES6SampleBench, we can find Math.pow calls. This can be replaced with **.
But, strictly speaking, ** is ES2016. Not ES2015.
Filip, what do you think of using ** in ES6SampleBench?
BTW, I'm also working on ES6 modules (and now, slowly landing the browser integration part :)).
Once it is landed, what do you think of introducing the modules into this benchmark? (This is the part of ES6)
Is it better to add a new benchmark that leverages modules, (and **)?
Personally I think adding the new benchmark that heavily uses modules is good thing once the module support is exposed to the Web. But using the modules in the current ES6SampleBench itself is also nice.
I like the idea of using "**". I think modules should be their own benchmark.