Can anyone check the code and correct it? ( I am totally newbie in coding)
var num = 1; // this is an integer console.log(num); var symbol = "."; // this is a String console.log(symbol); var name = " James"; // this is a String console.log(name); var total = num + symbol + name; // this is the complete result console.log(total); num = 2; symbol = "."; name = (" John"); total = num + symbol + name; console.log(total); num = 3; symbol = "."; name = (" Amy"); total = num + symbol + name; console.log(total); num = 4; symbol = "."; name = (" Collin"); total = num + symbol + name; console.log(total); num = 5; symbol = "."; name = (" Tom"); total = num + symbol + name; console.log(total); num = 6; symbol = "."; name = (" Lisa"); total = num + symbol + name; console.log(total); Can someone tell me what is the bugs in this code? I am totally newbie. Need help to complete the practice coding.