Reflect.getPrototypeOf returns the prototype
works like Object.getPrototypeOf
throws a TypeError for a non-object
a new Set() has a prototype
for a class, it is Klass.prototype
works also for an old-style "class"
an array has a prototype too
Required Knowledge
- basics (Arrow functions)
 - `let` declaration (Block scope)
 - `const` declaration (Block scope)
 - creation (Class)
 
Related Katas
Reflect
- basics
 Reflect.apply()Reflect.getPrototypeOf()Reflect.construct()Reflect.defineProperty()
Difficulty Level
INTERMEDIATE
First Published
8 July 2015
Stats
6 tests to solve