We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2860249 + 8ca14a9 commit 5398b7fCopy full SHA for 5398b7f
docs/1-trial-session/11-object/_samples/incrementAge/script.js
@@ -1,5 +1,5 @@
1
function incrementAge(person) {
2
- person.age = person.age + 1;
+ person.age += 1;
3
return person;
4
}
5
docs/1-trial-session/11-object/index.md
@@ -145,7 +145,7 @@ document.write(nextYearTanaka.age); // 19 と表示されてほしい
145
146
```javascript
147
148
149
150
151
0 commit comments