DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
sum of 2 variables in javascript
const total = ((disAmount || 0) * 1) + ((TaxAmount|| 0) * 1) ;
Source by leetcode.com #
PREVIOUS
NEXT
Tagged:
#sum
#variables
#javascript
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit