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() {
toStringAccessed += 1;
return function() {return ''; }
return function() { return ''; };
},
get valueOf() {
valueOfAccessed += 1;
return function() {return ''; }
return function() { return ''; };
},
};

View File

@ -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,