可能重复:
What does the exclamation mark do before the function?
所以morpheus脚本的开头就是这样:
!function (name, definition) {
if (typeof define == 'function') define(definition)
else if (typeof module != 'undefined') module.exports = definition()
else this[name] = definition()
}('morpheus', function () {
为什么会有!
?