var name = new String("green");
console.log(name instanceof String);//returns false
var color= new String("green");
console.log(color instanceof String);//returns true
Here the first one is returning false and the second one is returning true,what is the reason if i use variable as name it showing false and are there are any variables like name which throws error as happened with variable name