Skip to content

Commit

Permalink
Remove unused TimeZoneCompare operation from polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
ptomato committed Apr 16, 2021
1 parent cde67eb commit fafbd7d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions polyfill/lib/ecmascript.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1892,11 +1892,6 @@ export const ES = ObjectAssign({}, ES2020, {
const TemporalTimeZone = GetIntrinsic('%Temporal.TimeZone%');
return new TemporalTimeZone(timeZone);
},
TimeZoneCompare: (one, two) => {
const tz1 = ES.ToString(one);
const tz2 = ES.ToString(two);
return tz1 < tz2 ? -1 : tz1 > tz2 ? 1 : 0;
},
TimeZoneEquals: (one, two) => {
const tz1 = ES.ToString(one);
const tz2 = ES.ToString(two);
Expand Down

0 comments on commit fafbd7d

Please sign in to comment.