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))