Reputation: 2607
What is meant by 'use strict' string costs in almond.js line 6?
A Google returns no information on the issue the author seems to be implying.
Upvotes: 13
Views: 543
Reputation:
And the answer 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.
Which is a pretty silly "cost". It's 13 bytes before compression -- that's insignificant.
Upvotes: 12