I tried below code
var carname = "Volvo XC60";
console.dir(carname);
This gives nothing but the value. I want to list all prototype functions associated with this variable. This one also is not working.
console.dir(carname.prototype);
Any idea what am I doing wrong?