From 7dd83344b6b5b208c833019ce8aef2bd0a5ee238 Mon Sep 17 00:00:00 2001 From: Jing Ma Date: Wed, 22 Nov 2017 11:50:53 +0800 Subject: [PATCH] Updated result of examples --- docs/object.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/object.md b/docs/object.md index bec0117..baa1d44 100644 --- a/docs/object.md +++ b/docs/object.md @@ -707,7 +707,7 @@ Object.getOwnPropertyDescriptors(obj) // enumerable: true, // configurable: true }, // bar: -// { get: [Function: bar], +// { get: [Function: get bar], // set: undefined, // enumerable: true, // configurable: true } } @@ -761,7 +761,7 @@ const target2 = {}; Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source)); Object.getOwnPropertyDescriptor(target2, 'foo') // { get: undefined, -// set: [Function: foo], +// set: [Function: set foo], // enumerable: true, // configurable: true } ```