Whenever we declare var item = "string"; It means we are creating a string variable but surely a string object is made in background so that we can access item.length; It means item has reference to some object so we can access it's property.
It is confusing because item.length tempts me to consider item as a reference to an object but if we log it on console it just prints it value. Someone please help
