一,console
console.log 方法用于在 console 窗口输出信息。它可以接受多个参数,将它们的结果连接起来输出。
二,Math数学计算
abs
max
min
random
三,JSON
(1)stringify(object): 将 object 对象转换为 JSON 字符串,并返回该字符串
(2)parse(string): 将 JSON 字符串转化成对象,并返回该对象
console.log 方法用于在 console 窗口输出信息。它可以接受多个参数,将它们的结果连接起来输出。
abs
max
min
random
(1)stringify(object): 将 object 对象转换为 JSON 字符串,并返回该字符串
(2)parse(string): 将 JSON 字符串转化成对象,并返回该对象