This website requires JavaScript.
Explore
Help
Sign in
alrayyes
/
wiki
Watch
1
Star
0
Fork
You've already forked wiki
0
mirror of
https://github.com/alrayyes/wiki.git
synced
2025-03-01 13:54:19 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
515752cf18
Branches
Tags
No results found.
wiki
/
content
/
20201112095525-javascript_string_startswith_method.md
Ryan Kes
4ef8371441
Quartz sync: May 6, 2024, 10:40 PM
2024-05-06 22:40:05 +02:00
396 B
Raw
Blame
History
id
title
8a5acfc2-e49c-4f3a-8823-00d7b57e8569
JavaScript String startsWith Method
Syntax
console
.
log
(
'hello'
.
startsWith
(
'hell'
))
// true
console
.
log
(
'hello'
.
startsWith
(
'ell'
,
1
))
// true
See also
endsWith
JavaScript String Prototype Methods