summaryrefslogtreecommitdiff
path: root/Kernel/Arch
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-03-19 11:52:56 +0100
committerAndreas Kling <kling@serenityos.org>2020-03-19 11:54:11 +0100
commit07679e347cbe58aa90ea039013c0f884cf9ee7b2 (patch)
treeff2ab3fa4aaf7cc11d9fdf23c1b9481d24fa8fd4 /Kernel/Arch
parentb1b4c9844e63a65a19f5772c614df29015b37ce1 (diff)
downloadserenity-07679e347cbe58aa90ea039013c0f884cf9ee7b2.zip
LibJS: Parse FunctionExpressions
FunctionExpression is mostly like FunctionDeclaration, except the name is optional. Share the parsing logic in parse_function_node<NodeType>. This allows us to do nice things like: document.addEventListener("DOMContentLoaded", function() { alert("Hello friends!"); });
Diffstat (limited to 'Kernel/Arch')
0 files changed, 0 insertions, 0 deletions