Fabrice Bellard has developed a VM in JavaScript (!!!) allowing torun an OS in a browser. See: https://bellard.org/jslinux/This was brought to my attention by a teacher wanting to teach TeX andlitterate programming to students without the need for them to installanything.