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);
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}`