Skip to content

Commit e3c3525

Browse files
committed
formatting
1 parent 6e7eeb6 commit e3c3525

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

SunSpider/date-format-tofte.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ function run() {
297297
var shortFormat = date.formatDate("Y-m-d");
298298
var longFormat = date.formatDate("l, F d, Y g:i:s A");
299299
date.setTime(date.getTime() + 84266956);
300-
console.log(shortFormat.charCodeAt(6) , shortFormat.charCodeAt(8), longFormat.charCodeAt(10) , longFormat.charCodeAt(11) )
300+
// Assuming only ascii output.
301301
resultHash ^= shortFormat.charCodeAt(6) | shortFormat.charCodeAt(8) << 8;
302302
resultHash ^= longFormat.charCodeAt(10) << 16 | longFormat.charCodeAt(11) << 24;
303303
}

SunSpider/date-format-xparb.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ function run() {
416416
var shortFormat = date.dateFormat("Y-m-d");
417417
var longFormat = date.dateFormat("l, F d, Y g:i:s A");
418418
date.setTime(date.getTime() + 84266956);
419+
// Assuming only ascii output.
419420
resultHash ^= shortFormat.charCodeAt(6) | shortFormat.charCodeAt(8) << 8;
420421
resultHash ^= longFormat.charCodeAt(10) << 16 | longFormat.charCodeAt(11) << 24;
421422
}

0 commit comments

Comments
 (0)