Quiz: Core Concepts of JavaScript
Test yourself on compilation and core concepts OF JavaScript.
Compilation concepts
1
What is the correct abstract syntax tree of the string: <br />
.
A)
{
"value": [
[
{
"type": "node",
"value": [
"<",
[],
["b", "r"],
">"
]
}
],
"EndOfInput"
],
"cursor": 4
}
B)
{
"value": [
[
{
"type": "node",
"value": [
"<",
[],
["b", "r"],
[" "],
"/>"
]
}
],
"EndOfInput"
],
"cursor": 6
}
C)
{
"value": [
[
{
"type": "node",
"value": [
"<",
[],
["b", "r"],
[" "],
"/>"
]
}
],
"EndOfInput"
],
"cursor": 8
}
Question 1 of 40 attempted
Get hands-on with 1400+ tech skills courses.