-
Notifications
You must be signed in to change notification settings - Fork 29
Homework/exercises week 2 #54
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
base: master
Are you sure you want to change the base?
Conversation
var output = ''; | ||
|
||
for (var i = 0; i < txt.length; i++) { | ||
if (txt[i] == txt[i].toUpperCase()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this work? Should be tripple equals I think
.filter(taskDuration => taskDuration >= 2) | ||
.map(duration => duration * hourlyRate) | ||
.reduce((acc, salary) => acc + salary) | ||
.toFixed(2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job, you did include the previous homework also. Should be a separate branch
No description provided.