From 4ba615bba6aa606e28261ad4902687edaf676912 Mon Sep 17 00:00:00 2001 From: William Bruno Date: Sat, 16 Jan 2021 09:56:07 -0300 Subject: [PATCH] add: chapter 1.1.14 --- capitulo_1/1.1.14/non-use-strict.js | 2 ++ capitulo_1/1.1.14/use-strict.js | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 capitulo_1/1.1.14/non-use-strict.js create mode 100644 capitulo_1/1.1.14/use-strict.js diff --git a/capitulo_1/1.1.14/non-use-strict.js b/capitulo_1/1.1.14/non-use-strict.js new file mode 100644 index 0000000..ddda5b0 --- /dev/null +++ b/capitulo_1/1.1.14/non-use-strict.js @@ -0,0 +1,2 @@ +sum='1+1' +console.log(eval(sum)) diff --git a/capitulo_1/1.1.14/use-strict.js b/capitulo_1/1.1.14/use-strict.js new file mode 100644 index 0000000..1e4827e --- /dev/null +++ b/capitulo_1/1.1.14/use-strict.js @@ -0,0 +1,3 @@ +'use strict' +sum='1+1' +console.log(eval(sum))