0

Is this code bit wrong,

var num = 3;
var str = "The number is " + num!";

How to fixed this,

Felix Kling
  • 795,719
  • 175
  • 1,089
  • 1,143

1 Answers1

0

hi try the following:

var num = 3;
var str = "The number is " + num + "!";
eko
  • 39,722
  • 10
  • 72
  • 98
spankajd
  • 934
  • 7
  • 13