Something that could allow JS/webGL games to run on any console that supports said framework.
I suspect that the major hurdle stopping "Electron for game consoles" is that the console SDKs are under NDAs - you'd have to verify that the users are registered console developers or provide a porting service yourself (as many porting houses do).
However, Microsoft do allow packaging HTML5/JS games as UWP apps, and testing them on the Xbox Series (and the Xbox One) with the Dev Mode: https://docs.microsoft.com/en-us/windows/uwp/xbox-apps/devel...