Svelte Study

Svelte에서 highlight.js 연동 -1130

Code

package main

import "fmt"

func main() {
	fmt.Println("Hello, 世界")
}
<div class="row">
    <span>Hello World!</span>
</div>
function f(x, y)
    x[1] = 42    # mutates x
    y = 7 + y    # new binding for y, no mutation
    return y
end