From ba111c13b562edf3b7c36eada3ab3cc17030351a Mon Sep 17 00:00:00 2001 From: Mauro Bringolf Date: Mon, 29 Jan 2018 15:23:01 +0100 Subject: [PATCH] Add notice on constant checks to documentation (#7279) [skip ci] --- packages/babel-plugin-transform-block-scoping/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/babel-plugin-transform-block-scoping/README.md b/packages/babel-plugin-transform-block-scoping/README.md index 6cf9ed416e..7c174e506f 100644 --- a/packages/babel-plugin-transform-block-scoping/README.md +++ b/packages/babel-plugin-transform-block-scoping/README.md @@ -24,6 +24,11 @@ let a = 3 var a = 3; ``` +## Constant checks + +This plugin also validates all `const` variables. +Reassignment of constants is a runtime error and it will insert the necessary error code for those. + ## Installation ```sh