From 866baabb5e5d54c783db6991ead1aa5f1bc6d45e Mon Sep 17 00:00:00 2001 From: xiaoouwang Date: Thu, 20 Feb 2020 15:51:49 +0100 Subject: [PATCH] correct a typo the value should be 3 instead of 2 --- chapter2/chapter2/variables/objectLiterals5.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter2/chapter2/variables/objectLiterals5.js b/chapter2/chapter2/variables/objectLiterals5.js index 2267816..920d3ab 100644 --- a/chapter2/chapter2/variables/objectLiterals5.js +++ b/chapter2/chapter2/variables/objectLiterals5.js @@ -12,4 +12,4 @@ var foo = { }; console.log(foo.bar); // 123 console.log(foo.bas[0].qux); // 1 -console.log(foo.bas[2].qux); // 2 +console.log(foo.bas[2].qux); // 3