Skip to content

Commit 7f87f5f

Browse files
author
wendy@lastlookeditorial.com
committedJun 20, 2017
Edited ch07.asciidoc with Atlas code editor
1 parent 927b8cd commit 7f87f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎ch07.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ Besides the template literal syntax, strings got a number of new methods in ES6.
787787

788788
==== String#startsWith
789789

790-
Prior to ES6, ((("StringstartsWith", id="ssw7")))whenever we wanted to check if a string begins with a certain other string, we'd use the `String#indexOf` method, ((("String#indexOf")))as shown in the following code snippet. A result of `0` means that the string starts with the provided value.
790+
Prior to ES6, ((("String#startsWith", id="ssw7")))whenever we wanted to check if a string begins with a certain other string, we'd use the `String#indexOf` method, ((("String#indexOf")))as shown in the following code snippet. A result of `0` means that the string starts with the provided value.
791791

792792
[source,javascript]
793793
----

0 commit comments

Comments
 (0)