Oskar Larsson Högfeldt
Oskar Larsson Högfeldt
I think this function should just be removed. I mean, what's the correct behaviour on the Web, which has no shell?
And what about other operating systems that aren't Windows or UNIX? Just throw an error?
An alternative could be this: ``` function isset(testFunction) { let result = false; try { result = testFunction() !== undefined; } catch(e) { if(!(e instanceof ReferenceError || e instanceof TypeError))...
The current implementation is strange. Shouldn't fmod basically just be (a % b) in JS? Possibly with some special handling of NaN, Infinity, or +/-0
Hi @ian! ord in JavaScript is an inherently flawed concept. PHP's strings are series of 8-bit bytes and are therefore suitable for both binary data and text (using encodings such...
This improved version, as well as the current version, counts emojis and Chinese characters (characters that need two UTF-16 code units) twice when you look for the empty string. While...
JACK seems to accept the PRT1 (at least I didn't get any error messages), so perhaps it's just as good to always write the PRT1? (Writing this from my work...
func_vehicle has loads of bugs but that's what makes them so much fun. I think it would be a mistake to fix them
Falloff calculations are still working, it's just that they are now always made using the inverse square root method (which is more realistic), and the linear falloff option has been...