js基本数据结构

1. String

length

charAt
charCodeAt
concat
fromCharCode
indexOf
lastIndexOf
match
replace
search
slice
substring
substr
toLowerCase
toUpperCase
trim
valueOf

Array

length

concat
copyWithin
entries
every
find
findIndex
from
forEach
indexOf
lastIndexOf
includes
join
keys
map
pop
push
reverse
reduce
reduceRight
shift
splice
some
slice
sort
unshift
toString
valueOf

Number

Infinity
NaN

toExponential
toFixed 四舍五入
toPrecision 四舍五入
toString(radix)
valueOf

Math

ceil
floor
round
random
pow
sqrt

你可能感兴趣的:(js基本数据结构)