console.log(new String("h") == new String("h")); //false console.log(typeof new String("h") == "string"); //false