svelte/test/js/samples/hoisted-const/input.svelte

6 lines
103 B

<script>
const ANSWER = 42;
function get_answer() { return ANSWER; }
</script>
<b>{get_answer()}</b>