UNPKG
proximify
Version:
latest (0.3.0)
0.3.0
0.2.0
0.1.0
Promisify using ES6 Proxy
github.com/laggingreflex/proximify
laggingreflex/proximify
proximify
/
all.js
11 lines
(7 loc)
•
161 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
// Function.prototype
// console.log(Object.prototype);
Object
.
prototype
=
new
Proxy
(
Object
.
prototype
, {
get
(
t, key
) {
console
.
log
(
`key:`
, key); } })