mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 22:15:24 +02:00
Fixup typos
This commit is contained in:
parent
524f545f3d
commit
2b7df61dd6
@ -37,11 +37,11 @@ var thisVal = {
|
||||
},
|
||||
get toString() {
|
||||
toStringAccessed += 1;
|
||||
return function() {return ''; }
|
||||
return function() { return ''; };
|
||||
},
|
||||
get valueOf() {
|
||||
valueOfAccessed += 1;
|
||||
return function() {return ''; }
|
||||
return function() { return ''; };
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -57,7 +57,7 @@ var thisVal = {
|
||||
},
|
||||
get valueOf() {
|
||||
valueOfAccessed += 1;
|
||||
return function() { return ' 42' };
|
||||
return function() { return ' 42'; };
|
||||
},
|
||||
};
|
||||
|
||||
@ -84,7 +84,6 @@ assert.sameValue(
|
||||
1,
|
||||
'thisVal[Symbol.toPrimitive should have been accessed.'
|
||||
);
|
||||
|
||||
assert.sameValue(
|
||||
toStringAccessed,
|
||||
1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user