What does the following code accomplish?
let olElem = document.createElement("ol");
let divElem = document.querySelector("div");
document.body.insertBefore(olElem, divElem);
A. places a new div element just before the first ol element on the web page
B. places a new div element just after the first ol element on the web page
C. places a new ol element just before the first div element on the web page
D. places a new ol element just after the first ol element on the web page
Question 20
4 pts
In the following code "w" is referred to as:
let pattern = /[w]/;
A. a modifier
B. a hoisted variable
C. an epoch
D. a metacharacter