docs(string): edit string

This commit is contained in:
ruanyf
2016-12-03 09:43:14 +08:00
parent 2361c73019
commit 366c4ddfb5
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -708,14 +708,14 @@ var es6 = {
standard: "ECMA-262"
};
for (e in es6) {
for (let e in es6) {
console.log(e);
}
// edition
// committee
// standard
for (e of es6) {
for (let e of es6) {
console.log(e);
}
// TypeError: es6 is not iterable