Use object instead of if chain (#4212)

This commit is contained in:
Acid Chicken (硫酸鶏)
2019-02-17 21:40:53 +09:00
committed by syuilo
parent c4efbdf4c7
commit 357528d139
4 changed files with 65 additions and 122 deletions

1
src/prelude/symbol.ts Normal file
View File

@@ -0,0 +1 @@
export const fallback = Symbol('fallback');