https://github.com/rubylouvre/object-create-ie8
Object.create polyfill
https://github.com/rubylouvre/object-create-ie8
Last synced: about 1 year ago
JSON representation
Object.create polyfill
- Host: GitHub
- URL: https://github.com/rubylouvre/object-create-ie8
- Owner: RubyLouvre
- Created: 2018-07-05T08:02:27.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-05T08:19:52.000Z (almost 8 years ago)
- Last Synced: 2025-01-11T23:34:33.564Z (about 1 year ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# object-create-ie8
Object.create polyfill ie8
```javascript
if (!/\[native code\]/.test(Object.create)) {
Object.create = function (a) {
var f = function f() {};
f.prototype = a;
return new f();
};
}
```