Well, use typescript. There's no excuse to use pure JS nowadays. It doesn't solve everything, but it for sure solves 95%+ of JS issues.
Or use WebAssembly, I think it's usable nowadays?
Well, use typescript. There's no excuse to use pure JS nowadays. It doesn't solve everything, but it for sure solves 95%+ of JS issues.
Or use WebAssembly, I think it's usable nowadays?