Closed Bug 1500851 Opened 6 years ago Closed 4 years ago

resetParas 不一致

Categories

(Developer Documentation Graveyard :: JavaScript, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: 894231294, Unassigned, NeedInfo)

Details

https://developer.mozilla.org/zh-CN/docs/Learn/JavaScript/First_steps/A_first_splash#%E5%BE%AA%E7%8E%AF%EF%BC%88Loop%EF%BC%89

JavaScript 初体验  这一章节中的循环代码中
1.var resetParas = document.querySelectorAll('.resultParas p');
2.for (var i = 0 ; i < resetParas.length ; i++) {
3.  resetParas[i].textContent = '';
4.}

第一行的resetParas 与第二第三行的resetParas 不一致
Hello,
Could you please elaborate a bit to describe what is wrong?
I managed to run the examples (cf. also https://github.com/mdn/learning-area/blob/master/javascript/introduction-to-js-1/first-splash/number-guessing-game.html / https://mdn.github.io/learning-area/javascript/introduction-to-js-1/first-splash/number-guessing-game.html ) without any issues.

Many more English speakers/writers than Chinese speakers/writers will read this, so please, if possible, post in English.
Flags: needinfo?(894231294)
Priority: -- → P3
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.