_ type location method js_Array

table of Contents

  • indexOf and lastIndexOf accepts two parameters: one to look for. 2. To find the starting point of the index
  • Comparison is performed when using the "===."
  • indexOf empty string in the received item is not find backout -1, 0 is returned.
    • When used in keyword search, if you find a list of related list is returned, could not find a list of all the returns

Guess you like

Origin www.cnblogs.com/Syinho/p/12425891.html