all comments

[]go1dfish -0 points

Key may be a number here, this is essentially casting it to a string for consistency.

[]go1dfish -0 points

Btw I’m currently in the middle of a refactor that reorganizes and cleans up a lot of the code in notabug-peer and moves some code from /server into it as well.

Don’t start any big projects in that part of the code, hopefully should be able to push my changes this weekend.

UI code outside of notabug-peer is mostly unchanged

[]x0x7 -0 points

Also const now = (new Date()).getTime();

You mean

[]go1dfish -0 points

Ah yep, the browser api surface is too damn big. Didn’t realize that was a thing lol.

[] -0 points

Meh new Date().getTime(); is better I think. .now() convenience doesn't exist somewhere if I remember right, NodeJS?

[]x0x7 -0 points

Definitely exists in nodejs