var b=4; //variable document.write("The value of b is %d", b);
In Java, it would be:
int b;` System.out.printf("the value of b is %d", b);
Try doing this:
let b = 4; let valueString = `The value of B is: ${b}`
2.1m questions
2.1m answers
60 comments
57.0k users