摘要:
function outputObj(obj) { var description = ""; for (var i in obj) { description += i + " = " + obj[i] + "\n"; } alert(description); } http://blog.csd 阅读全文
摘要:
Use const for all of your references; avoid using var. eslint: prefer-const, no-const-assign Why? This ensures that you can’t reassign your references 阅读全文