MCPcopy
hub / github.com/sveltejs/svelte / constructor

Method constructor

packages/svelte/src/reactivity/date.js:51–60  ·  view source on GitHub ↗

@param {any[]} params

(...params)

Source from the content-addressed store, hash-verified

49
50 /** @param {any[]} params */
51 constructor(...params) {
52 // @ts-ignore
53 super(...params);
54
55 if (DEV) {
56 tag(this.#time, 'SvelteDate.#time');
57 }
58
59 if (!inited) this.#init();
60 }
61
62 #init() {
63 inited = true;

Callers

nothing calls this directly

Calls 2

#initMethod · 0.95
tagFunction · 0.90

Tested by

no test coverage detected