Berikutnya

Putar otomatis

JavaScript Tutorial For Beginners #9 - Math Operator Short-hand

56 Tampilan • 09/17/26
Membagikan
Menanamkan
Origin Course
Origin Course
Pelanggan
0

Hey guys. In this JavaScript tutorial I want to build on what we've already learnt about mathematical operators, and show you a few cool short-hand notation versions that will save you time.

+= is the short-hand for adding to the current variable

-= is the short-hand for subtracting from the current variable

*= is the short-hand for multiplying by the current variable

/= is the short-hand for dividing the current variable

++var or var++ are the incremental operators (increase the value of the variable by 1).

--var or var-- are the decremental operators (decrease the value of the variable by 1).

As usual, comment down below with any questions :).

SUBSCRIBE TO CHANNEL - https://www.youtube.com/channe....l/UCW5YeuERMmlnqo4oq

========== JavaScript for Beginners Playlist ==========

https://www.youtube.com/playli....st?list=PL4cUxeGkcC9

========== CSS for Beginners Playlist ==========

https://www.youtube.com/playli....st?list=PL4cUxeGkcC9

========== HTML for Beginners Playlist ==========

https://www.youtube.com/playli....st?list=PL4cUxeGkcC9

========== The Net Ninja ============

For more front-end development tutorials & to black-belt your coding skills, head over to - https://www.youtube.com/channe....l/UCW5YeuERMmlnqo4oq or http://thenetninja.co.uk

========== Social Links ==========

Twitter - @TheNetNinja - https://twitter.com/thenetninjauk

Menampilkan lebih banyak
0 Komentar sort Sortir dengan

Berikutnya

Putar otomatis