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 9656e4d1ae..ef47b61a0a 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 1cb3f4ea8b..2da55b7638 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; }