Skip to content

eval function callable  #759

@PlayfulMathematician

Description

@PlayfulMathematician

If I type

println(eval("2 + 2"))

Oh Noes say Eval can be Harmful.
But if type

a = eval
println(a("2 + 2"))

Then I get out 4. So clearly I can use eval without an error which is a BIG PROBLEM.

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