Assignment GDB Solution: Javascript Basic


Javascript Concatenating Strings

With text strings you cannot perform mathematical operations. The most common operation performed with text strings is concatenation.Concatenation refers to the act of combining two text strings into one longer text string. For instance,the following combines the strings “ab” and “cd” into the combined string “abcd”: “ab” + “cd” As with numeric mathematical operations,there are […]

Javascript Performing Math

Javascript Performing Math When working with numeric values in JavaScript, you can perform mathematics with the numbers. Not only can you add, subtract, multiply, and divide numbers, but you can also perform other advanced mathematical calculations. The four basic mathematical operations are as follows: •   Addition: For instance, 10 + 20 •   Subtraction: […]