diff --git a/bin/objectMethod.js b/bin/objectMethod.js index 2152157..9385481 100644 --- a/bin/objectMethod.js +++ b/bin/objectMethod.js @@ -306,7 +306,7 @@ console.log(obj.d.toLocaleString());`, }, ], }, - prototype: [ + managePrototypes: [ { name: 'getPrototypeOf', shortDesc: `get a prototype of the object.`, diff --git a/bin/questions.js b/bin/questions.js index f3a58e2..5f96760 100644 --- a/bin/questions.js +++ b/bin/questions.js @@ -87,7 +87,7 @@ const questions = [ obj, 'objBasis' ), - createAnswers('prototype', 'manage prototypes', obj, 'objBasis'), + createAnswers('managePrototypes', 'manage prototypes', obj, 'objBasis'), //objects with details, which is nested createAnswers( 'details',