From 55fcb6fb1679286239ede0c2b209faa717c37e65 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 17 May 2026 23:32:46 +0300 Subject: [PATCH] update js/l1.js --- js/l1.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/js/l1.js b/js/l1.js index 743f43a..0c9eb08 100644 --- a/js/l1.js +++ b/js/l1.js @@ -7,4 +7,18 @@ console.log(x.age); console.log(x.name); console.log(x.city); let al = ["яблоко", "человек", "бананы"]; -console.log(al[1]); \ No newline at end of file +console.log(al[1]); +if(al[1] == "человек") { + console.log("сергей"); +} +let i = 0; +while(1) { + console.log("сергей"); + i++; + if(i < 10) { + continue; + } + else { + break; + } +} \ No newline at end of file