. , ( ) . - .
, someObject.prototype = new SomeOtherObject().
someObject.prototype = { myObjectLiteral: "isJustAsGoodAsYourConstructoredInstance" };
someObject.prototype = false. , , .
EDIT OP, :
" , : , ."
, , . , " -, ". , , ,
Array.prototype === Array
Function.prototype === Function
function CustomConstructor() { }
CustomConstructor.prototype === CustomConstructor
false, .
, " ". , , . :
var myProto = {};
function CustomConstructor() { }
CustomConstructor.prototype = myProto;
var x = new CustomConstructor();
Object.getPrototypeOf(x) === myProto;
, , , . . prototype , , extends BaseClass Java. , , , .
JavaScript , , . "", "" " ".