From 3a340f36f7d8d922a1ea8b99ab617adc5095828c Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 6 May 2020 13:17:01 +0300 Subject: [PATCH] doc... Signed-off-by: Alex A. Naanou --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7b83c44..fcacdb2 100755 --- a/README.md +++ b/README.md @@ -66,7 +66,8 @@ var B = object.Constructor('B', A, { - Clear separation of constructor and `.prototype` data: - First block (optional) is merged with `B`, - Second block _is_ the `B.prototype`, -- no direct way to do "private" definitions. +- No _direct_ way to do "private" definitions, +- No special syntax, less distinct. @@ -99,7 +100,7 @@ class B extends A { } } ``` -- pretty but _misleading_ (calling a constructor a class) syntax, +- Syntax pretty but _misleading_ (calling a constructor a class), - `static` and instance definitions are not ordered, - `.attr` is copied to every instance