diff --git "a/\350\257\273\344\271\246\347\254\224\350\256\260/javascript_the_good_parts.md" "b/\350\257\273\344\271\246\347\254\224\350\256\260/javascript_the_good_parts.md" index b74fc94..f9fe876 100644 --- "a/\350\257\273\344\271\246\347\254\224\350\256\260/javascript_the_good_parts.md" +++ "b/\350\257\273\344\271\246\347\254\224\350\256\260/javascript_the_good_parts.md" @@ -272,7 +272,7 @@ var myObj = { //创建myObj对象,有一个value属性和一个increment方法 myObj.increment(); document.writeln(myObj.value) // 1 -myObj.increment(); +myObj.increment(2); document.writeln(myObj.value) //3 ```