Module sources should be parsed in strict mode (#2920)
Co-authored-by: Marko Fabo <mfabo@inf.u-szeged.hu> JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu
This commit is contained in:
committed by
Robert Fancsik
parent
03202995a0
commit
cbd41df5eb
@@ -29,5 +29,5 @@ assert (Array.isArray(mod.d))
|
||||
assert (x === 42)
|
||||
assert (mod.f("str") === "str")
|
||||
|
||||
dog = new mod.Dog("Oddie")
|
||||
var dog = new mod.Dog("Oddie")
|
||||
assert (dog.speak() === "Oddie barks.")
|
||||
|
||||
Reference in New Issue
Block a user