aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2023-04-10 10:28:56 +0100
committerLouis Pilfold <louis@lpil.uk>2023-04-10 10:51:24 +0100
commit52d992c7e82a87b6a6d430ce565fad14ed7952c6 (patch)
treea0bb28080358bc46569f01e18e59a1a9b656beff /src
parentc7a77c9c0ce1731e4c849556777465d0b789a955 (diff)
downloadgleam_stdlib-52d992c7e82a87b6a6d430ce565fad14ed7952c6.tar.gz
gleam_stdlib-52d992c7e82a87b6a6d430ce565fad14ed7952c6.zip
PMap property test
Diffstat (limited to 'src')
-rw-r--r--src/persistent-hash-map.mjs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/persistent-hash-map.mjs b/src/persistent-hash-map.mjs
index 911da05..ff849d8 100644
--- a/src/persistent-hash-map.mjs
+++ b/src/persistent-hash-map.mjs
@@ -77,7 +77,7 @@ function hashObject(o) {
try {
const code = o.hashCode(o);
if (typeof code === "number") {
- return code
+ return code;
}
} catch {}
}
@@ -955,4 +955,3 @@ export default class PMap {
return equal;
}
}
-