From f025fa74e28a9b709dc1660497a9d85160fbac33 Mon Sep 17 00:00:00 2001 From: Federico Brigante Date: Wed, 21 Sep 2016 08:30:53 -0700 Subject: [PATCH] minify-type-constructors: added [] and {} to readme --- packages/babel-plugin-minify-type-constructors/README.md | 6 ++++++ 1 file changed, 6 insertions(+) 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