concept JavaScript code in category svelte
appears as: JavaScript code, JavaScript code

This is an excerpt from Manning's book Svelte and Sapper in Action.
JS Output --The JS Output tab shows the JavaScript code generated for the app by the Svelte compiler.
<script> let online = true; //...use online in JavaScript code and {#if} blocks ... </script> <svelte:window bind:online /> #1