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
Why use "let" along with "as const" instead of mere "const x = 'hello'" for that?