I used REST API for get quiz data.
i got json response like this
then i have append that HTML response into a DIV container.it will give these errors on console.(screenshot -html view and console log)
VM3781:3 Uncaught TypeError: require is not a function
VM3782:3 Uncaught ReferenceError: M is not defined
Uncaught ReferenceError: Y is not defined