mirror of
https://github.com/tc39/test262.git
synced 2025-07-05 13:14:38 +02:00
Bug 1189: use "===" instead of "=" for S13.2_A4_T1 and T2
This commit is contained in:
parent
592bf451b2
commit
0d01ab1c7f
@ -33,7 +33,7 @@ if (__func.prototype.constructor !== __func) {
|
|||||||
var __constructor_was__enumed;
|
var __constructor_was__enumed;
|
||||||
|
|
||||||
for (__prop in __func.prototype){
|
for (__prop in __func.prototype){
|
||||||
if (__prop = 'constructor')
|
if (__prop === 'constructor')
|
||||||
__constructor_was__enumed = true;
|
__constructor_was__enumed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ if (__gunc.prototype.constructor !== __gunc) {
|
|||||||
var __constructor_was__enumed;
|
var __constructor_was__enumed;
|
||||||
|
|
||||||
for (__prop in __gunc.prototype){
|
for (__prop in __gunc.prototype){
|
||||||
if (__prop = 'constructor')
|
if (__prop === 'constructor')
|
||||||
__constructor_was__enumed = true;
|
__constructor_was__enumed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user