JavaScript常用方法包括:字符串操作(如substring, indexOf),数组操作(如map, filter),对象操作(如Object.keys),以及函数编程(如forEach, reduce)。 1、数学方法 方法名 描述 Math.ceil() 向上……