為什么angular報錯函數找不到
1 回答

喵喵時光機
TA貢獻1846條經驗 獲得超7個贊
templateArgs = arguments,
stringify = function(obj) {
return "function" == typeof obj ? obj.toString().replace(/ \{[\s\S]*$/, "") : "undefined" == typeof obj ? "undefined" : "string" != typeof obj ? JSON.stringify(obj) : obj
};
for (message = prefix + template.replace(/\{\d+\}/g, function(match) {
var arg, index = +match.slice(1, -1);
return index + 2 < templateArgs.length ? (arg = templateArgs[index + 2], "function" == typeof arg ? arg.toString().replace(/ ?\{[\s\S]*$/, "") : "undefined" == typeof arg ? "undefined" : "string" !=
- 1 回答
- 0 關注
- 904 瀏覽
添加回答
舉報
0/150
提交
取消