Closed NickLeeUML closed 6 years ago
Hi,
In the following code the result is undefined. When I set expression = name result is [object Object]. I'm not sure what I am doing wrong. Any clues?
expression = name
const context = { name: {'city':'Boston'}, id: 20 } const expression="name.city" const result = safeEval(expression,context)
Looks like name is a reserved word.
Hi,
In the following code the result is undefined. When I set
expression = name
result is [object Object]. I'm not sure what I am doing wrong. Any clues?