UNPKG
object-group-bye
Version:
latest (0.1.1)
0.1.1
0.1.0
ponyfill or polyfill of Object.groupBy ES feature
github.com/Vinsurs/object.groupby
object-group-bye
/
dist
/
polyfill.js
8 lines
(7 loc)
•
193 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
{
ObjectGroupBy
as
e }
from
"./object.groupby.js"
;
"groupBy"
in
Object
||
Object
.
defineProperty
(
Object
,
"groupBy"
, {
value
: e,
configurable
: !
0
,
writable
: !
0
,
enumerable
: !
1
});