Tin mới
JavaScript: Scripting language
Web APIs: Programming interfaces
Structuring content with HTML module
Dynamic scripting with JavaScript module
A string to be searched for within str. Cannot be a regex. All values that are not regexes are coerced to strings, so omitting it or passing undefined causes includes() to search for the string "undefined", which is rare
TypedArray.prototype.includes()
String.prototype.lastIndexOf()
This page was last modified on Jul 10, 2025 by MDN contributors.