Basic JavaScript - Understanding Uninitialized Variables

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

var a = 5;

var b = 10;


//var c = "I am a";

a = a + 1;
b = b + 5;
var c = "I am a String";

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36 Edg/104.0.1293.54

Challenge: Basic JavaScript - Understanding Uninitialized Variables

Link to the challenge:

You’ve turned var c into a comment.

Hey! Welcome to the freeCodeCamp’s community forums.

Learning to describe the bugs or issues you’re facing is a great skill to have in a developer, it may seem hard at first, but you should at least provide a brief summary of what you are trying to accomplish and what’s the error that shows up when you try to run your code.

It will also make it easier for others to help you if they know the problem beforehand.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.