How does WebAssembly choose DOM?

all kinds of articles, big V said that the era of WebAssembly is coming, Go, Rust, CPP languages can all write Web front end.
I also want to follow, but all the articles I found are desperately praising the performance of WebAssembly. I just want to ask: how do you write the sentence document.getElementById ("xx") in other programming languages?

Jan.08,2022

cannot be written. WebAssembly cannot operate dom now (and may not be able to do so in the future).
WebAssembly is used to solve the inefficiency of js (functions that require complex calculations can be written in WebAssembly), not an alternative to js

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c2216b-335c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c2216b-335c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?