🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
8 lines
192 B
JavaScript
8 lines
192 B
JavaScript
'use strict';
|
|
|
|
// https://262.ecma-international.org/16.0/#sec-canonicalizekeyedcollectionkey
|
|
|
|
module.exports = function CanonicalizeKeyedCollectionKey(key) {
|
|
return key === 0 ? +0 : key;
|
|
};
|