>[success] # switch 和 if-else 还有 object 一个比较几个运行速度的网站 里面还有其他方法的速度比较 [https://jsperf.com/array-vs-switch/2](https://jsperf.com/array-vs-switch/2) [https://jsperf.com/if-switch-lookup-table/10](https://jsperf.com/if-switch-lookup-table/10)