Ah... new lesson...Wrapper Objects. The temporary objects created when you access a property of a
string, number, or boolean are known as wrapper
objects, and it may occasionally be necessary to
distinguish a string value from a String object or a number or boolean
value from a Number or Boolean object. Usually, however, wrapper
objects can be considered an implementation detail and you don’t have
to think about them. You just need to know that string, number, and
boolean values differ from objects in that their properties are
read-only and that you can’t define new properties on them.
Try to visit this link:
www.youtube.com/watch?v=-EgZUeYPmSg
Till next time.... Bye.....
https://www.inkling.com/read/javascript-definitive-guide-david-flanagan-6th/chapter-3/wrapper-objects
https://www.google.com.ph/search?q=math+objects+js&source=lnms&tbm=isch&sa=X&ei=70AHU5XhKO-OiAfn8oDoBg&ved=0CAcQ_AUoAQ&biw=1024&bih=437#q=wrapper+objects+in+javascript&tbm=isch
Walang komento:
Mag-post ng isang Komento