Skip to content

Commit

Permalink
Merge pull request #20 from jigintern/code-lint2
Browse files Browse the repository at this point in the history
lint
  • Loading branch information
haruyuki-16278 committed Aug 14, 2023
2 parents 9525fde + 73bd28c commit add2910
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions getting-started-with-javascript/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ JSではこのようにして値の大小や等価かどうかを比較できま
```javascript
if (<条件1>) {
条件1が真のときの処理
} else if(<条件2>) {
} else if (<条件2>) {
条件2が真のときの処理
} else {
条件1も条件2も偽のときの処理
Expand Down Expand Up @@ -502,7 +502,7 @@ for (let i = 0; i < 10; i++) {
}
array.forEach((value) => {
if(value % 2 === 0) {
if (value % 2 === 0) {
console.log(`${value} is even.`);
} else {
console.log(`${value} is odd.`);
Expand All @@ -522,7 +522,7 @@ for (let i = 0; i < 10; i++) {
}
for (let i = 0; i < 10; i++) {
if(array[i] % 2 === 0) {
if (array[i] % 2 === 0) {
console.log(`${array[i]} is even.`);
} else {
console.log(`${array[i]} is odd.`);
Expand Down

0 comments on commit add2910

Please sign in to comment.