File tree 2 files changed +2
-2
lines changed
test/built-ins/Function/prototype
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ WellKnownIntrinsicObjects.forEach(function(record) {
33
33
}
34
34
} ) ;
35
35
if ( throwTypeError ) {
36
- assert . sameValue ( descriptor . set , throwTypeError , "Function.prototype.arguments getter is %ThrowTypeError%" ) ;
36
+ assert . sameValue ( argumentsDesc . set , throwTypeError , "Function.prototype.arguments getter is %ThrowTypeError%" ) ;
37
37
}
38
38
assert . throws ( TypeError , function ( ) {
39
39
return Function . prototype . arguments ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ WellKnownIntrinsicObjects.forEach(function(record) {
31
31
}
32
32
} ) ;
33
33
if ( throwTypeError ) {
34
- assert . sameValue ( descriptor . set , throwTypeError , "Function.prototype.caller getter is %ThrowTypeError%" ) ;
34
+ assert . sameValue ( callerDesc . set , throwTypeError , "Function.prototype.caller getter is %ThrowTypeError%" ) ;
35
35
}
36
36
assert . throws ( TypeError , function ( ) {
37
37
return Function . prototype . caller ;
You can’t perform that action at this time.
0 commit comments