From fd567c2da3c52ebece168f9ed8fc94273523688c Mon Sep 17 00:00:00 2001 From: Nick Pridorozhko Date: Wed, 1 Nov 2017 15:00:48 +0200 Subject: [PATCH] Fix typo in default values section --- es6.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es6.md b/es6.md index cc8388b9d..514e018b0 100644 --- a/es6.md +++ b/es6.md @@ -212,7 +212,7 @@ var [math = 50, sci = 50, arts = 50] = scores ```js // Result: -// math === 22, sci === 23, arts === 50 +// math === 22, sci === 33, arts === 50 ``` Default values can be assigned while destructuring arrays or objects.