Skip to content

How to run the code to get the result ? #132

Open

Description

@pxim

NQ@~FV1M8R3_@2)~13Q$VVY

Activity

  1. jaywcjlove commented on Nov 10, 2022

    @jaywcjlove
    Member

    @pxim

    Example 1

    var code = 'console.log(123)';
    var func = new Function(code)
    func()

    Example 2

    var code = 'console.log(123)';
    eval(code)

    Example 3

    var code = 'console.log(123)';
    setTimeout(code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions