refactor: simplify formatMessage internal logic (#34)

* fix: don't modify global Array and ArrayBuffer prototypes

* wip: simplify formatMessage

* wip: simplify formatMessage internal logic

* wip: simplify formatMessage internal logic

* wip: simplify formatMessage internal logic

* refactor: simplify formatMessage internal logic

* formatMessage: remove double-negation: now returns istring instead of notString

* refactor: remove double-negation of isString

* refactor: remove double-negation of isString

* add comment on formatMessage return type
This commit is contained in:
legobeat
2023-09-16 21:23:54 +08:00
committed by GitHub
parent f293b5d508
commit d6325442bd
2 changed files with 37 additions and 39 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long