UNPKG
rollup-plugin-realm-uri
Version:
latest (2.0.0)
2.0.0
1.0.1
1.0.0
Import deduplicated references to intrinsic values using realm: scheme URIs
rollup-plugin-realm-uri
/
src
/
runtime
/
transform-invert.mjs
5 lines
(3 loc)
•
140 B
JavaScript
View Raw
1
2
3
4
5
import
apply
from
'realm:Reflect.apply'
;
export
default
fn => fn ==
null
?
undefined
:
(
receiver, ...args
) =>
apply
(fn, receiver, args);