especially
especially copied to clipboard
Usage of let keywords prevents this package from being used in FF
This, in turn, prevents me from using https://www.npmjs.com/package/array.prototype.includes.
https://github.com/domenic/especially#usage-notes
https://www.npmjs.com/package/array.prototype.includes isn't meant to be used by people except those developing the specification for Array.prototype.includes.
It is possible to compile especially to ES5 using babel@6, then it should run in browsers. In my experience, this has been working fine so far.
Perhaps we can even have an officially supported ES5 (compiled) version in the npm package. We should be able to run the same unit tests in the compiled version, running the tests in a pre-ES2015 environment such as Node 0.10 to ensure compatibility with ES5.
WDYT?
That certainly isn't a priority for my uses of the project, but if it's something you're interested in, feel free.
Sure, I have other priorities at the moment but may get to it sometime. Or we can delegate this to the consumers: most people consuming this package for such use cases are most likely using webpack or browserify, so it is should be as easy as adding the babel plugin to their workflow.