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.

Pass variable (You should use the *= operator for each variable) appears wrong when correct (doesnt effect passing)

See original GitHub issue

Challenge Assignment with Times Equals has an issue. User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

var a = 5;
var b = 12;
var c = 4.6;

// Only modify code below this line

a *= 5;
b *= 3;
c *= 10;



Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Dman89commented, Mar 19, 2016

Yeah, give me a chance. Seems like is has to do with the javascript updating. I’ll be home in a couple of hours On Mar 16, 2016 10:18 PM, “Mrugesh Mohapatra” notifications@github.com wrote:

@livinglegendparagon https://github.com/livinglegendparagon

Thanks I believe this is down to your browser, I tested this use case and can’t seem to reproduce. Can you please test if you are getting this on any other browser and if possible on any other device as well?

Since you are the only person so far getting this I guess we need some help in analyzing from you.

Also it would be really helpful if you could post some screenshots as I mentioned earlier.

Thanks again.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/FreeCodeCamp/FreeCodeCamp/issues/7572#issuecomment-197706094

0reactions
raisedadeadcommented, Mar 29, 2016

Closing as stale. Please comment if you are facing still facing this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Function pass by value vs. pass by reference
Use pass by reference when you are changing the parameter passed in by the client program. Consider a swapping function to demonstrate pass...
Read more >
Java is Pass by Value, Not Pass by Reference | DigitalOcean
If you look at the variable, then we can say it is passed by value (whatever it is, being an int, float or...
Read more >
4. Methods Use Instance Variables: How Objects Behave
But here's the important part: If a method takes a parameter, you must pass it something. And that something must be a value...
Read more >
Pass by reference (C++ only) - IBM
Pass-by-reference means to pass the reference of an argument in the calling function to the corresponding formal parameter of the called function.
Read more >
Is JavaScript a pass-by-reference or pass-by-value language?
Now, on to functions and passing parameters.... When you call a function, and pass a parameter, what you are essentially doing is an...
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