* pref: optimize the algo via reduce & replace method
* feat: add TypeError for invalid types
* test: upgrade test case for invalid types
* docs: add js doc
* test: modify the case-sensitive test case
* pref: Optimize algo & add case-insensitive mode
* style: format with standard style
* docs: fix the js doc
* docs: rename function name & add comments
* feat: add chackAnagramViaMap function
* test: add test case for checkAnagramViaMap func
* fix: remove **Via** from functions name
* style: fix alignment of js doc
* chore: grammar fix
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>