<script>
    var name = "world";
</script>

<input type=text bind:value={name}>

<input type=text bind:value={name}>