Update Babel ReadMe (#3673)

Remove Array.prototype.fill and Array.from from missing features that requires polyfill

JerryScript-DCO-1.0-Signed-off-by: Daniella Barsony bella@inf.u-szeged.hu
This commit is contained in:
Daniella Barsony 2020-04-15 16:53:14 +02:00 committed by GitHub
parent b5977de99c
commit e5702edab4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,13 +62,4 @@ Place the files/directories you want transpiled to the babel folder and run
`$ npm run transpile [name of input file/directory] [(OPTIONAL)name of output file/directory]`
If you want to use the same name, then only give the name once.
#### Missing features/Polyfill [](#missing-features)
Some features aren't implemented yet and found no babel plug-in for them.
* [Array.from](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from)
* [Array.prototype.fill](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/fill)
* [String.prototype.codePointAt](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/codePointAt)
In the case you encounter those, use the polyfill found on the linked sites. Also, **be aware** there could be more.
If you want to use the same name, then only give the name once.