Closed dsntk closed 9 months ago
heya - the context put(context, keys, value)
function is defined as a kind of recursive call back to context put(context, key, value)
. That function must have a context object as the first argument.
In the above test, a
has a value of 0
(zero) and is not a context so, in effect, the call is invalid - hence the null result noting an error condition of some sort.
From my reading context put
operates to amend an existing context object, not create them.
Now it's clear, thanks a lot for your help!
Hi all,
The decision
nested009
looks like this:and the expected result like this:
but the
context put
function has positional arguments provided and gives non null result like:{x:1, y: {a: {b: {c: 2}}}}
Am I missing something?
Thanks in advance for any help in clarifying this.