diff --git a/docs/chapter_computational_complexity/time_complexity.md b/docs/chapter_computational_complexity/time_complexity.md index 8c2edb08a..2ba703457 100644 --- a/docs/chapter_computational_complexity/time_complexity.md +++ b/docs/chapter_computational_complexity/time_complexity.md @@ -412,7 +412,7 @@ $$ a *= 2; // +1 // 循环 n 次 for(var i = 0; i < n; i++){ // +1 - console.log(0) // +1 + console.log(0); // +1 } } @@ -428,7 +428,7 @@ $$ a *= 2; // +1 // 循环 n 次 for(var i = 0; i < n; i++){ // +1 - console.log(0) // +1 + console.log(0); // +1 } }