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.

[beta] Basic JavaScript: Divide one Decimal by Another with JavaScript Test 3 Failing

See original GitHub issue

Challenge Name

Basic JavaScript: Divide one Decimal by Another with JavaScript

Issue Description

Test 3 (The quotient variable should only be assigned once) is not passing valid code.

Browser Information

  • Browser Name, Version: Chrome 56.0.2924.87 (Official Build) (32-bit)
  • Operating System: Windows 7 Professional, Service Pack 1
  • Mobile, Desktop, or Tablet: Desktop

Your Code


var quotient = 4.4 / 2.0; // Fix this line

Screenshot

capture

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

6reactions
elrolfecommented, Feb 17, 2017

This bug appears to come up when an incorrect answer is submitted first, then it won’t accept the correct answer afterwards. I ran into the same issue with another challenge Basic JavaScript: Escaping Literal Quotes in Strings. In both cases, I reloaded the page, which also reloaded the correct code that had failed the test. After reloading the page, I submitted the code again with no changes, and the test passed.

3reactions
TheAaronCovingtoncommented, Feb 18, 2017

I encountered this bug as well, I was finally able to work around it by reloading the browser. Doing a reset on my code did not work. Very strange.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Divide One Decimal by Another with JavaScript - YouTube
Today we do a basic tutorial on how to divide one decimal by another using JavaScript. This is part of the Free Code...
Read more >
Need assistance in Divide one Decimal by Another with ...
Challenge Name Divide one Decimal by Another with JavaScript has an issue. Issue Description Replace 0.0 with 4.4. The tests should pass.
Read more >
Divide One Decimal by Another with JavaScript - Scrimba.com
Our courses and tutorials will teach you React, Vue, Angular, JavaScript, HTML, CSS, and more. Scrimba is the fun and easy way to...
Read more >
Component Reference - Apache JMeter - User's Manual
Take care, omitting the password will not fail this test, a wrong password will. ... (Groovy is one of these, java, beanshell and...
Read more >
Alta - Chapter 9 - Hypothesis Testing Flashcards - Quizlet
What is the test statistic (z-score) of this one-mean hypothesis test, rounded to two ... test for a proportion and round your answer...
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