我的字符串代码是
var fileText = $scope.list[0]+"\n"
+$scope.list[1]+"\n"
+$scope.list[2]+"\n"
+$scope.list[3]+"\n"
+$scope.list[4]+"\n"
+$scope.list[5]+"\n"
+$scope.list[6]+"\n"
+$scope.list[7]+"\n"
+$scope.list[8]+"\n"
+$scope.list[9]+"\n"
+$scope.list[10]+"\n";
还有其他插入换行符的方法吗?