Console.log Erorr: unspecified error


#1

console.log(2*5)
console.log("hello")

this is wrong
I don't know why
HELP!


#2

If this is Java, then its suppose to be system.out.println(); .

Instead of:

console.log(2*5)
console.log("hello")

Do this(IF JAVA):

System.out.println(2*5)
System.out.println("hello")

#3

Java will give a an error without the the semicolons at the end

System.out.println(2*5);
System.out.println("hello");

#4

Pshhh..... Dosent on eclipse. :laughing:,


#5

eclipse sometimes automatically handles this issue but productionwise not good

READ MORE HERE