<分区>
这是来自 bootstrap.js 的 JS 代码
/* ========================================================================
* Bootstrap: collapse.js v3.1.1
* http://getbootstrap.com/javascript/#collapse
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
'use strict';
// COLLAPSE PUBLIC CLASS DEFINITION
// ================================
...
}
我见过“;”在函数之前避免在函数定义之前混合代码。但是函数前面的“+”号是什么意思呢?它会将返回值转换为字符串吗?