Comment

Comment by coldtea

Yeah, but shouldn't it use: const z = 'hello' and then get the shape {text: 'hello'} automatically?

Why use "let" along with "as const" instead of mere "const x = 'hello'" for that?

parent coldtea 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton