From 2403e8bec220d94b1cbfb5ddf64f89c209804a01 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Fri, 10 Oct 2014 16:05:01 +1100 Subject: [PATCH] add __proto__ classes caveat --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index be1eb9b002..e62d5875e1 100644 --- a/README.md +++ b/README.md @@ -258,6 +258,10 @@ specified in [polyfill](#polyfill) suffices. Built-in classes such as `Date`, `Array` and `DOM` cannot be subclassed due to limitations in ES5 implementations. +If you're inheriting from a class then static properties are inherited from it +via [__proto__](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/proto), +this is widely supported but you may run into problems with much older browsers. + ## Differences ### Philosophy