At the start of the source code for underscore.js , you see this:
var root = this;
var previousUnderscore = root._;
So the question becomes why didnt the author just write:
var previousUnderscore = this._;
Two reasons,
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.