source:
frontend/node_modules/object.entries/polyfill.js
| Last change on this file was 9af201e, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 191 bytes | |
| Rev | Line | |
|---|---|---|
| [9af201e] | 1 | 'use strict'; |
| 2 | ||
| 3 | var implementation = require('./implementation'); | |
| 4 | ||
| 5 | module.exports = function getPolyfill() { | |
| 6 | return typeof Object.entries === 'function' ? Object.entries : implementation; | |
| 7 | }; |
Note:
See TracBrowser
for help on using the repository browser.
