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.

Instructions and list item values differ on this challenge

See original GitHub issue

Challenge Understanding Uninitialized Variables has an issue. User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.81 Safari/537.36. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:


// Initialize these three variables
var a = 5;
var b = 10;
var c = "I am a";

// Do not change code below this line

a = a + 1;
b = b + 5;
c = c + " String!";


Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
erictleungcommented, May 5, 2017

@raisedadead agreed 👍 I’ve seen this issue come up a few times and I can see the confusion from reading it right now.

To be more precise on the changes needed, we need the first two challenge tests to be updated to be less confusing. So something similar to the following:

a should be defined and evaluated to have the value of 6

b should be defined and evaluated to have the value of 15

These two lines of code need to be updated.

Please first read the contributing guidelines before taking care of this issue. And feel free to visit the Contributors Help chat room if you have any questions about helping. We’re there to help.

0reactions
Serralqcommented, May 6, 2017

Going to try this as a first-timer in open source. Thank you

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create an Apex class that returns an array (or list) of strings
The 'generateStringArray' method must return an array (or list) of strings. Each string must have a value in the format 'Test n' where...
Read more >
The 30 Elements of Consumer Value: A Hierarchy
When customers evaluate a product or service, they weigh its perceived value against the asking price. Marketers have generally focused much of their...
Read more >
14 Effective Problem-Solving Strategies | Indeed.com
1. Define the problem ... Taking the time to define a potential challenge can help you identify certain elements to create a plan...
Read more >
Working on Common Cross-cultural Communication Challenges
As people from different cultural groups take on the exciting challenge of working together, cultural values sometimes conflict. We can misunderstand each ...
Read more >
Align Assessments, Objectives, Instructional Strategies
Your assessment measures students' ability to compare and critique the arguments of different authors, but your instructional strategies focus entirely on ...
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