1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:17:35 +00:00

LibJS: Add naive implementation of eval() :^)

This parses and executes a code string in the caller's lexical scope.
This commit is contained in:
Andreas Kling 2021-03-14 16:20:01 +01:00
parent 64cb04996f
commit 4da3e5d91f
3 changed files with 22 additions and 0 deletions

View file

@ -100,6 +100,7 @@ namespace JS {
P(entries) \
P(enumerable) \
P(error) \
P(eval) \
P(every) \
P(exec) \
P(exp) \