FirstOfAll plz help me provide info of working of valueOf method in different object.
Is there a difference between String.prototype.valueOfand
Object.prototype.valueOf method,if there exist difference why
not seen when Object.prototype.valueOf.call("maizere").Since valueOf here is the method of Object.prototype not String.protototype but it outputs string rather than [object String].Shouldn't it output [object String]?It seems as if the valueOf method belongs to String.prototype since it outputs string.Thank u for ur help