* feat tracker update redux plugin to speed up state hashing * feat tracker update redux plugin to speed up state hashing
18 lines
270 B
TypeScript
18 lines
270 B
TypeScript
const chars: Record<string, string> = {};
|
|
|
|
[
|
|
"DEL",
|
|
"UNDEF",
|
|
"TRUE",
|
|
"FALSE",
|
|
"NUMBER",
|
|
"BIGINT",
|
|
"FUNCTION",
|
|
"STRING",
|
|
"SYMBOL",
|
|
"NULL",
|
|
"OBJECT",
|
|
"ARRAY"
|
|
].forEach((k, i) => (chars[k] = String.fromCharCode(i + 0xe000)));
|
|
|
|
export default chars;
|