File: polyfill.js

package info (click to toggle)
node-assert 2.0.0%2B~cs3.9.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 496 kB
  • sloc: javascript: 4,088; makefile: 8
file content (7 lines) | stat: -rw-r--r-- 191 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
'use strict';

var implementation = require('./implementation');

module.exports = function getPolyfill() {
	return typeof Object.entries === 'function' ? Object.entries : implementation;
};