Add missing included code

This commit is contained in:
Clément 2020-06-08 10:53:38 +02:00 committed by GitHub
parent 13f0be310a
commit 5f45fa049c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,8 @@
const hashCode = str =>
(
[...str].reduce((h, c) => (h = (h << 5) - h + c.charCodeAt(0)) & h, 0) >>> 0
).toString(36)
// /*/ // ⚡
export const tests = []
const t = (f) => tests.push(f)