question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typo - Basic Javascript - Replacing If Else Chains with Switch

See original GitHub issue

Challenge Replacing If Else Chains with Switch has a minor typo. Could probably be suitable as a first-timer-contribution.

Typo showed in screenshot

I think it would make sense to rephrase if / if else statements

into

if / else ifstatements.

This would make the instructions more aligned with the actual syntax.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
raisedadeadcommented, Jun 26, 2016

@Greenheart thanks for reporting.

Potential contributors (first timers only) please have a look at this line and this line and change the same to be in tune as proposed above.

Thanks and happy fixing.

0reactions
ladybugtjucommented, Jun 28, 2016

👍 🎱

Read more comments on GitHub >

github_iconTop Results From Across the Web

Replacing If Else Chains with Switch - CodeChallenge - GitHub
CodeChallenge/javascript/FreeCodeCamps/Basic JavaScript/Replacing If Else Chains with Switch.md · Go to file T · Go to line L · Copy path · Copy permalink....
Read more >
Replacing If Else Chains with Switch - Guide
Solutions. We need to change the chained if/else if statements into a switch statement. Dont forget to use break in each case !...
Read more >
Conditional Statements: If, Else, and Switch - KIRUPA
In most cases, our expression will rarely be a simple variable that is set to true or false like it is in our...
Read more >
Replace your switch statement and multiple "if and else ...
According to our knowledge in js, trying to understand how to replace switch statements with Object Literals. Tagged with javascript, react, ...
Read more >
Foresee Mark Ki switch vs if else háziasszony Probléma Elnök
Replacing If Else Chains with Switch break error and else if error HELP ... A Simple Guide to JavaScript Conditions (If, Else If,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found