JavaScript Polyfills

Re-implement built-ins (Array, Function, Promise, Object) to show you understand the spec.