From 80b2c63a12fc94798780cd2aded3e36c3f72cf54 Mon Sep 17 00:00:00 2001 From: kernoeb Date: Sat, 7 Aug 2021 19:16:19 +0200 Subject: [PATCH] fix: prototype attribute name (property map of undefined) --- bin/objectMethod.js | 2 +- bin/questions.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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',