ValidationHelpers.CheckNameFormat preventing nested property access
ProTip opened this issue · 1 comments
I must be daft. I'm trying to get a reference to or call a function in the engines through a property accessor(ie access the bar
in foo.bar = () => {...})
) however the ValidationHelpers.CheckNameFormat
calls are blocking me:
I don't believe Jint or V8 have issues with this. Am I missing something because surely nested prop access can't be tripping everyone up?
Hello, Greg!
This is not a mistake. This was originally intended. Use the Evaluate
or Execute
methods for this purpose.
Remember the main purpose of this library:
JavaScript Engine Switcher determines unified interface for access to the basic features of popular JavaScript engines (…). This library allows you to quickly and easily switch to using of another JavaScript engine.