j
результат - installed : v12.11.1 to /usr/local/bin/node
active : v12.18.3 at /usr/local/opt/node@12/bin/node
подскажите пожалуйста, как сделать активним путь к версии 12.11.1? Mac
Size: a a a
j
АО
j
АО
j
j
function some () {
console.log('ha')
}
function returnMyself () {
return this
}
Object.defineProperties(some, {
something: { get: returnMyself },
hello: { get: returnMyself }
})
some.something.hello()
j
const some = new Proxy({}, {
get: function (target, prop, receiver) {
return prop === 'hello' ? () => console.log('hi') : receiver
}
})
some.la.la.la.la.la.la.la.hello()
C
C
j
C
A
C
j
C
М
М
j
М