Home / File/ index.svelte.js — svelte Source File

index.svelte.js — svelte Source File

Architecture documentation for index.svelte.js, a javascript file in the svelte codebase. 1 imports, 0 dependents.

File javascript BuildSystem QualityControl 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  da8f7068_69e3_a7ca_9360_72a5923fe6de["index.svelte.js"]
  1a59b12b_63d5_2eb4_1881_6fb96dbdcb56["client"]
  da8f7068_69e3_a7ca_9360_72a5923fe6de --> 1a59b12b_63d5_2eb4_1881_6fb96dbdcb56
  style da8f7068_69e3_a7ca_9360_72a5923fe6de fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/* index.svelte.js generated by Svelte VERSION */
import * as $ from 'svelte/internal/client';

let a = $.state(1);
let b = $.state(2);
let c = 3;
let d = 4;

export function update(array) {
	((array) => {
		var $$array = $.to_array(array, 2);

		$.set(a, $$array[0], true);
		$.set(b, $$array[1], true);
	})(array);

	[c, d] = array;
}

Domain

Subdomains

Functions

Dependencies

  • client

Frequently Asked Questions

What does index.svelte.js do?
index.svelte.js is a source file in the svelte codebase, written in javascript. It belongs to the BuildSystem domain, QualityControl subdomain.
What functions are defined in index.svelte.js?
index.svelte.js defines 1 function(s): update.
What does index.svelte.js depend on?
index.svelte.js imports 1 module(s): client.
Where is index.svelte.js in the architecture?
index.svelte.js is located at packages/svelte/tests/snapshot/samples/destructured-assignments/_expected/client/index.svelte.js (domain: BuildSystem, subdomain: QualityControl, directory: packages/svelte/tests/snapshot/samples/destructured-assignments/_expected/client).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free