package.json文件里的^和~表示什么意思呢 In the simplest terms, the tilde matches the most recent minor version (the middle number). ~1.2.3 will match all 1.2.x versions but will miss 1.3.0. The caret, on the other hand, is more relaxed. It will update you to the
<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.js"></script> <script> //json扩展方法 if (!Object.prototype.forEach) { Object.prototype.forEach = function (fn) { try { for (var key in this) { //确定某属性是否是对象本身的属性. if (this