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

Isabella_Temperature-converter #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

izzycsy
Copy link

@izzycsy izzycsy commented Jun 9, 2020

Deliverable Submission

Please describe your comfort and completeness levels before submitting.

Comfort Level (1-5): 2

Completeness Level (1-5): 1

What did you think of this deliverable?: Tough, I'll revise more.

}

var enteredFahrenheit = function(num){
if (parseInt(num) < 0) {
Copy link

@adnacg adnacg Jun 10, 2020

Choose a reason for hiding this comment

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

Since you're using parstInt(num) repeatedly as conditions, you can store it in a variable, and use this variable instead of calling parseInt() 3 times here :)

Good job!

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