From e5702edab4efe71cc4098ffe7cc1b093fbc111bf Mon Sep 17 00:00:00 2001 From: Daniella Barsony Date: Wed, 15 Apr 2020 16:53:14 +0200 Subject: [PATCH] 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 --- tools/babel/README.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tools/babel/README.md b/tools/babel/README.md index 4b1b15b1c..aebac3978 100644 --- a/tools/babel/README.md +++ b/tools/babel/README.md @@ -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. \ No newline at end of file +If you want to use the same name, then only give the name once. \ No newline at end of file