@matrix an entire package just for determining if something is a number? tf nigga?
@matrix @mischievoustomato @kirby JS now has functions for that, but old JS was full of these stupid libraries. There's also one for arrays.
@matrix @mischievoustomato what a nice way to open yourself up to supply chain attacks, importing tons of packages that do little things like this

@matrix @mischievoustomato @kirby It’s fucking easy to check and people don’t understand that NaN is a number because they are dumb.

@matrix @kirby just copy paste that shit into your codebase, call that shit "static linking" :kekl:
@matrix @kirby The code is also wrong because a string isn't a fucking number.
Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.