Svelte · Junior · Question 16 of 76
What does $inspect(value) do?
- ✓Correct answer: Logs the value every time it changes, in development only
- 2Freezes the value
- 3Sends the value to Svelte DevTools in production
Explanation
It tracks deep changes too. In production builds $inspect is a no-op.