测试说明,打开调试工具的console的Tab,在 input 中输入你需要求和的数字,点击Computed按钮即可观察到测试数据,你可以多试几次才能让你更好的理解WebWorker的工作原理。