FreeCodeCampChina / freecodecamp.cn

FCC China open source codebase and curriculum. Learn to code and help nonprofits.
https://fcc.asia/
Other
37.02k stars 1.38k forks source link

Error: I did not use the ++ symbol #614

Open Zeng0o opened 5 years ago

Zeng0o commented 5 years ago

Challenge Increment a Number with JavaScript has an issue. User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

var myVar = 87;

// 请只修改这条注释以下的代码
myVar = ++myVar;
FEILELAI commented 4 years ago

a = myVar++;