摘要:
1.信息输出 Console.log,不仅可以向控制台输出信息,而且能接受多个参数并支持按照指定格式输出内容。var animal = "cat", count = 30;console.log("The mount of %s are %d", animal,count);orconsole.info("The mount of %s are %d", animal,count);也可混合字符替代和字符链接使用。var name = "Terry", thing1 = "book", thin 阅读全文