What is the "prototype" linkage for Objects created via the Object Literal Notation in JavaScript? -
my first post on stack overflow , complete newbie here , still getting used rules / annotations followed on forum , please excuse aspiring "developer" ;-) while reading through crockford's " good parts ", came across line said: every object linked prototype object can inherit properties. objects created object literals linked object.prototype, object comes standard javascript. so test out wrote following jscript code: var student = {} console.log(student.isprototypeof(object.prototype)) note: i executing via browser console , hence function - console.log(...) . i guessing way student variable declared here using " object literal notation ". isn't correct ? so second line - console.log(student.isprototypeof(object.prototype)) returned false instead of true . shouldn't display true instead of false ? well doesn't contradict lines book mentioned above ? so here snippet in action - var student = {}; a...