This is going to be a work in progress over a few weeks. In part because the JS implementation is rather bare-bones with few support functions, and in part because with the BigInt type, the JS designers did away with some automated and implicit casting (uh?).
Support for ?? (double question mark) as the coalesce operator has been added to DWScript.
The coalesce operator is a binary operator, which looks at its left operand, and if not “falsey”, returns it, otherwise returns its right operand.
A new version 2014.10.15 of the DWS Web Server is available.
This version contains a variety of improvements and fixes, along with a new sample for JS libraries.
Or a dozen. Or a whole flock.
How fast are mobile CPUs these days? Well, they are pretty fast processors.
While some still consider that x86 is ten times faster than ARM, that is just not the case anymore these days, the difference is much smaller, and closer to just two times if you compare a regular smartphone to a regular laptop/desktop.
It had only been tested on the FireFox OS desktop simulator, how would it hold its own on a real device?
We’re not talking of flagship phones with quad-cores like a Galaxy, a Nexus 4 or an iPhone, but mainstream, single-core, sub-$100 hardware…
If you’ve tried building PhoneGap/Cordova apps, be it in Object Pascal via Smart Mobile Studio or directly in JS, you’ll quickly have realized that debugging on the devices, even with remote debuggers and emulators, isn’t always convenient.
Being able to debug in a desktop browser would be so much more convenient, eh?