Comments (5)
hello
from underscore-analysis.
@johnaddme 你好,请问有什么问题?
from underscore-analysis.
if(_.iteratee !== builtIteratee) return _.iteratee(value, context);
这一块判断是否被重写,请问怎么会有被重写的情况发生?这个有什么应用场景吗?
谢谢
from underscore-analysis.
@ningbo16 underscore 只是提供了一个工具库, 然而其中的工具库函数是可以被重写的, 甚至有时候只是冲突了, 为了防止这种情况出现, 或者是允许用户自定义这部分的逻辑, 所以添加了这个判断
from underscore-analysis.
good
from underscore-analysis.
Related Issues (7)
- root 对象初始化 HOT 3
- underscore 中的变量缓存与继承
- 硬绑定代码性能优化
- 模拟 ES6 rest 运算符 HOT 2
- Javascript 中的数据类型判断 HOT 2
- for...in 循环的兼容性问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from underscore-analysis.