Echo JS 0.11.0

<~>
tracker1 1432 days ago. link parent 1 point
You're creating a `new Function(...)`, this and `eval` are blocked by static analysis tooling, ad network linting applications, and other code linting tools such as eslint[1].

    const compile = (template) => {
      return new Function("data", "return " + compileToString(template))
    }

[1] https://eslint.org/docs/rules/no-new-func

Replies