Skip to content

Function#152

Open
AlexKry96 wants to merge 4 commits intodevmentor-pl:masterfrom
AlexKry96:master
Open

Function#152
AlexKry96 wants to merge 4 commits intodevmentor-pl:masterfrom
AlexKry96:master

Conversation

@AlexKry96
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Owner

@devmentor-pl devmentor-pl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Olek,

Tym razem zostawiłem drobną uwagę ;)

console.log(time);
}

showTime () No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -0,0 +1,7 @@
function sayHello() {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TUtaj bardziej chodziło, aby zdefiniować parametr np. function sayHello(name) { następnie przy wywołaniu podać odpowiednią wartość tj. sayHello('Mateusz')

PS. Jeśli chcesz dać możliwość wpisania imienia to wtedy można zrobić tak:

const userName = prompt('podaj imie');
sayHello(userName)

}

const res = sumToNumber(4)
console.log(res) No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

}, 1000)
}

runTimer() No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants