Numeric separators are supported in espruino, this will work:
setTimeout(() => LED1.toggle(), 10_000);
But it doesn't seem to be supported in the IDE and espruino npm cli tool, which will give this warning:

I'm wondering if this is in acorn or some other dependency that can be updated