Watchdog when using Espruino

Does anyone have any idea on how to enable the watchdog when using Espruino? There is a method E.enableWatchdog [1], but this is only implemented on STM32 and when trying to use this on Ruuvitag it does nothing.

[1] Espruino Hardware Reference

You’d probably need to implement the watchdog on Espruino/NRF52 first.