evalJS function

dynamic evalJS(
  1. String scriptCode
)

Call eval() with the content of scriptCode and returns the result.

Implementation

dynamic evalJS(String scriptCode) =>
    globalContext.callMethod('eval'.toJS, scriptCode.toJS).dartify();