0

Is this code bit wrong,

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

How to fixed this,

1
  • 2
    how about "The number is " + num + "!" ? Commented Dec 9, 2016 at 5:34

1 Answer 1

0

hi try the following:

var num = 3;
var str = "The number is " + num + "!";
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.