为什么说 - '_' 未定义,下面是一个基本的简单示例和小提琴。谢谢你
-------------index.html---------------------------
<html>
<head>
<title></title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="underscore.js"></script>
<script type="text/javascript" src="myJs.js"></script>
<head>
<html>
<body>
<script>
<button type="button" onclick = "loadThis();">Click Me!</button>
</script>
</body>
</html>
-------------myJs.js---------------------------
var loadThis = function(){
vas x = _.uniq([1, 2, 1, 3, 1, 4]);
alert(x);
};