add commment for lesson

This commit is contained in:
Костя 2025-06-30 14:11:54 +03:00
parent 94e33222b2
commit 3071bb4746
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
//Обучение ЦИКЛАМ
//lesson 1.4 X-MAS TREE
function DrawTriangle(height: number) {
for(let index = 1; index <= height; ){
DrawLine(index * 2 - 1, height - index);
@ -18,6 +19,7 @@ for(let index = 1; index <= 5;){
//lesson 1.3 ANOTHER TRIANGLE
function DrawLine(count: number, countP: number){
const minimalString = '*';