Fixup typos

This commit is contained in:
Valerie R Young 2017-10-06 16:46:08 -04:00 committed by Rick Waldron
parent 524f545f3d
commit 2b7df61dd6
2 changed files with 3 additions and 4 deletions

View File

@ -37,11 +37,11 @@ var thisVal = {
}, },
get toString() { get toString() {
toStringAccessed += 1; toStringAccessed += 1;
return function() {return ''; } return function() { return ''; };
}, },
get valueOf() { get valueOf() {
valueOfAccessed += 1; valueOfAccessed += 1;
return function() {return ''; } return function() { return ''; };
}, },
}; };

View File

@ -57,7 +57,7 @@ var thisVal = {
}, },
get valueOf() { get valueOf() {
valueOfAccessed += 1; valueOfAccessed += 1;
return function() { return ' 42' }; return function() { return ' 42'; };
}, },
}; };
@ -84,7 +84,6 @@ assert.sameValue(
1, 1,
'thisVal[Symbol.toPrimitive should have been accessed.' 'thisVal[Symbol.toPrimitive should have been accessed.'
); );
assert.sameValue( assert.sameValue(
toStringAccessed, toStringAccessed,
1, 1,