Message from JavaScript discussions

May 2020

— My first thought was, you are competing for who is writing the best code


Hello everyone,
If I give this string to domparser's parsefromsring
'<input type="text" id="username" name="username" required>'

Then it converts the required attribute of above string to (required="")
Same happen if I use toHTML function while converting objects to HTML

Is there any way to avoid this? I will be grateful to you if you have any solution for this.
I digged down everything on the internet, but unable to get the solution.

— Go for CPP or Java...

— Hell no

— Rather rust or go

— Eww

— Heck even Crystal, but most sites don't support it. It's faster than Go in most cases.

— Idk, gotta check, gonna note 🔍👀

— This is one of my favorite multi-language benchmarks

— Oh my god, this is not legible

— Wear your boxing gloves and prepare to code🤜🤤

— I think it's a troll or a homework-boy🤔