Javascript: Array Methods
Let's look into the complete list of methods available on the array.
- Length
- IndexOf (Back -negative, no start index
- Includes
- LastIndexOf
- Search
- Slice - Negative (if index value is not included)
- substr - Length
- SubString
- repeat (ES6)
- left/start Trim
- right/end Trim
- toString
- replace
- split
- concat
- charAt
- charCodeAt
- fromCharCode
- touppercase
- toLocaleUpperCase
- toLowerCase
- toLocaleLowerCase
Difference between
1. includes and indexOf - boolean and number
2. Index of and search - Noregex and regex