import "fmt"
func init() {
fmt.Println("Twitter sucks")
}
hope this helps
import "fmt"
func init() {
fmt.Println("Twitter sucks")
}
hope this helps
the other image is something i hate in ts in general
the first code gives you: ["hello", "world"]
the second code gives you: [1, 2, 3, 4, "sixty-nine"]
the other image is something i hate in ts in general
the first code gives you: ["hello", "world"]
the second code gives you: [1, 2, 3, 4, "sixty-nine"]
npm init -y
npm i -D typescript @types/node
tsc --init
then configure tsconfig, node is hell at this
npm init -y
npm i -D typescript @types/node
tsc --init
then configure tsconfig, node is hell at this