数组&字符串方法

数组方法

  1. concat()
  2. copyWithin()
  3. entries()
  4. every()
  5. fill()
  6. filter()
  7. find()
  8. findIndex()
  9. findLastIndex()
  10. flat()
  11. flatMap()
  12. forEach()
  13. from()
  14. includes()
  15. indexOf()
  16. isArray()
  17. join()
  18. keys()
  19. lastIndexOf()
  20. map()
  21. of()
  22. pop()
  23. push()
  24. reduce()
  25. reduceRight()
  26. reverse()
  27. shift()
  28. slice()
  29. some()
  30. sort()
  31. splice()
  32. toLocaleString()
  33. toString()
  34. unshift()
  35. values()

字符串方法

  1. charAt()
  2. charCodeAt()
  3. concat()
  4. endsWith()
  5. fromCharCode()
  6. includes()
  7. indexOf()
  8. lastIndexOf()
  9. localeCompare()
  10. match()
  11. normalize()
  12. padEnd()
  13. padStart()
  14. repeat()
  15. replace()
  16. search()
  17. slice()
  18. split()
  19. startsWith()
  20. substr()
  21. substring()
  22. toLocaleLowerCase()
  23. toLocaleUpperCase()
  24. toLowerCase()
  25. toUpperCase()
  26. trim()
  27. trimEnd()
  28. trimStart()
  29. valueOf()
posted @ 2023-10-10 20:11  辰梦starDream  阅读(1)  评论(0编辑  收藏  举报  来源