From c9cf3e9acacf8fdec36574e3dee8e30183902389 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 27 Apr 2020 17:02:22 +0300 Subject: [PATCH] doc cleanup... Signed-off-by: Alex A. Naanou --- object.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/object.js b/object.js index 73957e4..89ff52f 100755 --- a/object.js +++ b/object.js @@ -90,13 +90,13 @@ function(obj, name, callback){ // Find the next parent attribute in the prototype chain. // // Get parent attribute value... -// parent(, , ) -// -> +// parent(value, name, this) +// -> value> // -> undefined // // Get parent method... -// parent(, ) -// -> +// parent(meth, this) +// -> meth // -> undefined // // @@ -153,9 +153,9 @@ function(proto, name, that){ // Find the next parent method and call it... // -// parentCall(, , ...) -// parentCall(, , this>, ...) -// -> +// parentCall(meth, this, ...) +// parentCall(proto, name, this, ...) +// -> res // -> undefined // // @@ -232,7 +232,7 @@ function(root, ...objects){ //--------------------------------------------------------------------- // Make/get the base instance object... // -// makeRawInstance(context, constructor, ...args) +// makeRawInstance(context, constructor, ...) // -> instance // // @@ -307,12 +307,12 @@ function(context, constructor, ...args){ // Make a JavaScrip object constructor... // // Make a constructor with an object prototype... -// Constructor(, ) +// Constructor(name, proto) // -> constructor // // Make a constructor with a prototype (object/function) and a class // prototype... -// Constructor(, , ) +// Constructor(name, class-proto, proto) // -> constructor // NOTE: the defines a set of class methods and // attributes. @@ -327,8 +327,8 @@ function(context, constructor, ...args){ // -> instance // // Pass arguments to the constructor... -// constructor([, ...]) -// new constructor([, ...]) +// constructor(arg[, ...]) +// new constructor(arg[, ...]) // -> instance // //