Y
Hacker News
new
|
ask
|
show
|
jobs
by
kcrwfrd_
687 days ago
const foo: string[] = ['foo'] // inferred as string // though it is undefined const bar = foo[1]