almond.js 中的“使用严格”字符串成本是什么意思?第 6 行?
谷歌没有返回关于作者似乎暗示的问题的信息。
最佳答案
答案is apparently :
It is extra bytes to deliver the 'use strict' string in the source, and this is trying to be a small library. So, just a way to reduce file size by a little bit.
这是一个相当愚蠢的“成本”。压缩前是 13 个字节——这无关紧要。
关于javascript - ECMAScript 5 'use strict' 字符串成本存在哪些?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11379640/