mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
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:
parent
b5977de99c
commit
e5702edab4
@ -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.
|
||||
Loading…
x
Reference in New Issue
Block a user