Get all property names along the prototype chain
npm install getallpropertynamesgetAllPropertyNames
=========
Get all property names along the prototype chain

![NPM]()
`````
npm install getallpropertynames --save
javascript
import getAllPropertyNames from 'getallpropertynames';
class Foo {
foo() {}
}
class Bar extends Foo {
bar() {}
}
let bar = new Bar();
getAllPropertyNames(bar);
// ['constructor', 'bar', 'foo', 'toString', 'toLocaleString',
// 'valueOf', 'hasOwnProperty', 'isPrototypeOf', ... ]
```