Implement node._.get

This commit is contained in:
Daniel Lugo 2021-09-13 12:28:19 -04:00
parent 958c25cfba
commit 40af396a6e

View file

@ -216,7 +216,10 @@ function createReplica(path, afterMap = false) {
return { return {
_: { _: {
get: '', get get() {
const keys = path.split('>')
return keys[keys.length - 1]
},
opt: { opt: {
// TODO // TODO
peers: {} peers: {}