diff --git a/test/suite/ch13/13.2/S13.2_A4_T1.js b/test/suite/ch13/13.2/S13.2_A4_T1.js index 9656e4d1ae83405363c21ee4f62ce5c9718997fe..ef47b61a0a76809c758bb48e5e43b26b6d796341 100644 --- a/test/suite/ch13/13.2/S13.2_A4_T1.js +++ b/test/suite/ch13/13.2/S13.2_A4_T1.js @@ -33,7 +33,7 @@ if (__func.prototype.constructor !== __func) { var __constructor_was__enumed; for (__prop in __func.prototype){ - if (__prop = 'constructor') + if (__prop === 'constructor') __constructor_was__enumed = true; } diff --git a/test/suite/ch13/13.2/S13.2_A4_T2.js b/test/suite/ch13/13.2/S13.2_A4_T2.js index 1cb3f4ea8b3dc1abafbd26ad27a41fd014cd278b..2da55b76386a2c55033a489dd73ddf1bbc2f3a14 100644 --- a/test/suite/ch13/13.2/S13.2_A4_T2.js +++ b/test/suite/ch13/13.2/S13.2_A4_T2.js @@ -33,7 +33,7 @@ if (__gunc.prototype.constructor !== __gunc) { var __constructor_was__enumed; for (__prop in __gunc.prototype){ - if (__prop = 'constructor') + if (__prop === 'constructor') __constructor_was__enumed = true; }