You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
``javascript
var sumOfNums = 0, sumOfSet = 0;
var set = new Set();
for (var i = 0; i < nums[i]; i++) {
if (set.has(nums[i])) {
sumOfSet += nums[i];
} else {
set.add(nums[i]);
sumOfNums += nums[i];
}
}
刚开始看第一张,非常棒,但在Chapter01/experience1.md中有点瑕疵:
上方javascript前方只有两个`导致后面整体格式都不对了,而且功能也不全,应该改成:
或者是:
由于没法fork,也没法提pr,所以提在issue中。
The text was updated successfully, but these errors were encountered: