Skip to content

Commit fe56903

Browse files
committed
demo 错误
1 parent 664062a commit fe56903

File tree

1 file changed

+2
-2
lines changed
  • chapters/JavaScript_Core/ECMAScript

1 file changed

+2
-2
lines changed

chapters/JavaScript_Core/ECMAScript/es5.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function(item, index, array) {}
142142

143143
```
144144
//property access on strings
145-
"abc"[2] === "b"
145+
"abc"[1] === "b"
146146
```
147147

148148
## Function
@@ -205,4 +205,4 @@ function(item, index, array) {}
205205
[^22]: http://www.ietf.org/rfc/rfc4627.txt
206206
[^23]: http://en.wikipedia.org/wiki/ISO_8601
207207
[^24]: http://stackoverflow.com/questions/8099270/use-of-reserved-words-in-javascript
208-
[^25]: http://ejohn.org/blog/javascript-getters-and-setters/
208+
[^25]: http://ejohn.org/blog/javascript-getters-and-setters/

0 commit comments

Comments
 (0)