Svelte · Junior · Question 16 of 76

What does $inspect(value) do?

Explanation

It tracks deep changes too. In production builds $inspect is a no-op.

Further reading

Problem with a question

Svelte · Junior · question 16

Test yourself

Take the Svelte · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz