Chrome 61 现在默认支持 ES6 模块
作者: codedread创建于 2017年10月11日更新于 2017年10月13日
当 Chrome 61 看到 <script type="module" ...> 标签时,它会将其解释为一个 ES6 模块。 我们是否能在运行时检测到这一点,以防 Traceur 在不需要时进行转译?
内容来源: google/traceur-compiler
当 Chrome 61 看到 <script type="module" ...> 标签时,它会将其解释为一个 ES6 模块。 我们是否能在运行时检测到这一点,以防 Traceur 在不需要时进行转译?
内容来源: google/traceur-compiler