Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

challenge_dzien_1 #21

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
poprawka zadanie01.js
  • Loading branch information
Urban1982 committed Sep 6, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 2a02012e9091b02fd64cbce6dcdbb67c22b9afd1
27 changes: 13 additions & 14 deletions app/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 4 additions & 9 deletions app/zadanie01.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
console.log('Krzysztof Urbaniak');
let counter = 0;
const intervalId = setInterval(() => {
console.log('wita sie z Node.js!'[counter]);
counter++;
console.log('Krzysztof Urbaniak')

if (counter === 'wita sie z Node.js!'.length){
clearInterval(intervalId);
}
}, 5000);
setTimeout(()=>{
console.log('wita sie z Node.js')
},5000);