diff --git a/packages/babel-plugin-minify-type-constructors/README.md b/packages/babel-plugin-minify-type-constructors/README.md index 6f2d84bb2..9c4962ab1 100644 --- a/packages/babel-plugin-minify-type-constructors/README.md +++ b/packages/babel-plugin-minify-type-constructors/README.md @@ -10,6 +10,9 @@ Boolean(x); Number(x); String(x); +Array(3); +Array(3,1); +Object({foo: 'bar'}); ``` **Out** @@ -18,6 +21,9 @@ String(x); !!x; +x; x + ""; +[,,,]; +[3, 1]; +{foo: 'bar'}; ``` ## Installation