Skip to content

Commit 9818880

Browse files
authored
Merge pull request #901 from nature-of-code/notion-update-docs
[Notion] Update docs
2 parents 0f91422 + 159ee78 commit 9818880

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

content/07_ca.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,10 +583,9 @@ <h3 id="the-implementation">The Implementation</h3>
583583
// Correct by subtracting the cell state.
584584
neighborSum -= board[i][j];
585585

586-
//{!2} The rules of life!
586+
// The rules of life!
587587
if (board[i][j] === 1 &#x26;&#x26; neighborSum &#x3C; 2) next[i][j] = 0;
588588
else if (board[i][j] === 1 &#x26;&#x26; neighborSum > 3) next[i][j] = 0;
589-
//{.continue}
590589
else if (board[i][j] === 0 &#x26;&#x26; neighborSum === 3) next[i][j] = 1;
591590
else next[i][j] = board[i][j];
592591
}

0 commit comments

Comments
 (0)