caot
caot

Reputation: 3318

extjs: var error = new Error()

A link to ext-all-debug.js is as the follows https://cdnjs.cloudflare.com/ajax/libs/extjs/6.0.0/ext-all-debug.js. It has the following code. Which file includes the definition of class Error in the following code?

    var error = new Error();

Upvotes: 0

Views: 35

Answers (1)

SeanCannon
SeanCannon

Reputation: 77956

Error lives on the global object in JavaScript.

Upvotes: 1

Related Questions