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 17, 2021
1 parent 8509b9e commit 759ae68
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 @@ -1917,11 +1917,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 759ae68

Please sign in to comment.