DEV Community

Cover image for 9 useful code snippets for everyday JavaScript development || Part 1

9 useful code snippets for everyday JavaScript development || Part 1

Swastik Yadav on June 26, 2022

Hello Everyone! Welcome to this JavaScript snippets post, In this post we will look at some of the most common JavaScript snippets which will help...
Collapse
 
arnon profile image
Arnon Rodrigues

Really liked the HTMLInputElement.valueAsNumber. Didn't know this one before.

Congratulations!

Collapse
 
swastikyadav profile image
Swastik Yadav

Thank You! :)

Collapse
 
erikgmatos profile image
Erik Garces Matos • Edited

I didn't know valueAsNumber too. Very interesting. Congrats!

Collapse
 
monicafidalgo profile image
The Coding Mermaid πŸ§œβ€β™€οΈ

Awesome sharing!! Waiting for 2 Part!

Collapse
 
swastikyadav profile image
Swastik Yadav

Thank you The coding Mermaid. Part 2 is coming soon! :)

Collapse
 
pyrsmk profile image
AurΓ©lien Delogu

Just to note that HTTPS should be handled by the server instead of the client. But very cool snippets, thanks!

Collapse
 
mjcoder profile image
Mohammad Javed

Useful code snippets, thank you.

Collapse
 
bhojkamal profile image
BhojKamal

nice

Collapse
 
obaino82 profile image
Obaino82

Nice one

Collapse
 
shshank profile image
Shshank

useful snippet, thanks for sharing

Collapse
 
andrewbaisden profile image
Andrew Baisden

Wonderful code snippets thanks for sharing!

Collapse
 
swastikyadav profile image
Swastik Yadav • Edited

Glad that you liked it. Thanks for the comment Andrew. :)

Collapse
 
walebee01 profile image
Osho Wale

Thanks for sharing

Collapse
 
naayaabnumb profile image
Naayaab

It's a great help .. applauds!! Thanks man

Collapse
 
swastikyadav profile image
Swastik Yadav

Thanks for your kind words, Naayaab. :)