From e1ac13a312114dfa4908d5f67714870022dbc401 Mon Sep 17 00:00:00 2001 From: Dima YaFlay <93622229+YaFlay@users.noreply.github.com> Date: Wed, 3 Nov 2021 01:29:32 +0300 Subject: [PATCH] 1.0.2 --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index 4e37dc0..d14fba2 100644 --- a/index.js +++ b/index.js @@ -2,10 +2,13 @@ function sayHi(){ alert('Hello World!'); } +// create function sayHi() let a = confirm('Do u like my work') +// asking if (a == true){ alert('Thanks!!') }else{ alert('Ok, sorry') } +// if/else