From 362539489783f9c85efc53eaa87ca53b1d029e71 Mon Sep 17 00:00:00 2001 From: Michali Sarris Date: Tue, 31 May 2016 16:22:57 +0200 Subject: [PATCH] Fix description parameter in nonenumerable I think there's an error in the nonenumerable example. I renamed the description parameter to be descriptor. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 788db13..3ea766e 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ let description = { configurable: true } -function nonenumerable(target, name, description) { +function nonenumerable(target, name, descriptor) { descriptor.enumerable = false; return descriptor; }