(function(global, factory) {
if (typeof define === 'function' && define.amd)
define(function() { return factory(global) })
else
factory(global)
}(this, function(window) {
YIELD
return Zepto
}))
這其中的YIELD起什麼作用?
这个函数产生一个迭代器,使用yield使得每次迭代通过next返回一个值