One of the things I like about JavaScript is that anything can be anythin... It's a blessing, it's a curse, but please do not treat strict typing as JavaScript const bands: {name: string, genre: string}[] = ... this may be typescript or what not but not Javascript, vanilla anyway. Kudos
One of the things I like about JavaScript is that anything can be anythin... It's a blessing, it's a curse, but please do not treat strict typing as JavaScript
const bands: {name: string, genre: string}[] = ...
this may be typescript or what not but not Javascript, vanilla anyway. KudosYes TypeScript.
I have now removed the type definition from the post.