source:
frontend/node_modules/es-abstract/2025/CanonicalizeKeyedCollectionKey.js
| Last change on this file was 9af201e, checked in by , 13 days ago | |
|---|---|
|
|
| File size: 192 bytes | |
| Line | |
|---|---|
| 1 | 'use strict'; |
| 2 | |
| 3 | // https://262.ecma-international.org/16.0/#sec-canonicalizekeyedcollectionkey |
| 4 | |
| 5 | module.exports = function CanonicalizeKeyedCollectionKey(key) { |
| 6 | return key === 0 ? +0 : key; |
| 7 | }; |
Note:
See TracBrowser
for help on using the repository browser.
