JavaScript: Basic Fundamental Guide for Beginners by MG Martin

JavaScript: Basic Fundamental Guide for Beginners by MG Martin

Author:MG Martin [Martin, MG]
Language: eng
Format: epub
Published: 2018-06-30T23:00:00+00:00


a += b

This is equal to a = a + b.

a -= b

This is equal to a = a - b.

a *= b

This is equal to a = a * b.

a /= b

This is equal to a = a / b.

a %= b

This is equal to a = a % b.

There are two more shorthand operators, the increment and decrement operators. These can be used to add or subtract one from a given variable, a++ and a--, respectively, where a is the name of the variable that you’re trying to increment or decrement.

We’ve covered most of the basic arithmetic and assignment operators that you’re going to need for JavaScript. Now we’re going to use this knowledge to build a foundation for understanding programmatic logic, which is a great and important foundation for being able to use all these.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.