Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
11
Frontend-Learner/node_modules/oxc-parser/src-js/raw-transfer/lazy-common.js
generated
vendored
Normal file
11
Frontend-Learner/node_modules/oxc-parser/src-js/raw-transfer/lazy-common.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// Unique token which is not exposed publicly.
|
||||
// Used to prevent user calling class constructors.
|
||||
export const TOKEN = {};
|
||||
|
||||
/**
|
||||
* Throw error when restricted class constructor is called by user code.
|
||||
* @throws {Error}
|
||||
*/
|
||||
export function constructorError() {
|
||||
throw new Error("Constructor is for internal use only");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue