angel

joined 1 year ago
[–] [email protected] 3 points 8 months ago (2 children)

There is a TVDB metadata provider for Jellyfin: https://github.com/jellyfin/jellyfin-plugin-tvdb

[–] [email protected] 13 points 9 months ago (1 children)

It doesn’t run GIMP because it’s an OS for mobile phones…

[–] [email protected] 18 points 1 year ago* (last edited 1 year ago) (2 children)

Automatic Semicolon Insertion (ASI) has (sadly) been a part of JavaScript longer than 2016. I'm not sure exactly when it was introduced, but this document from 2009 already contains it: https://web.archive.org/web/20120418215856/https://ecma262-5.com/ELS5_Section_7.htm#Section_7.9

IMO it's bad practice to rely on ASI since the semicolons may not get inserted where you expected them to. The following snippet

const x = 0
const y = x
[1, 2, 3].forEach(console.log) 

is interpreted as

const x = 0;
const y = x[1, 2, 3].forEach(console.log);

which raises a TypeError.

There are more examples of ASI not doing the right thing on the web, so I don't agree with "Javascript doesn't need semicolon".