Search
 
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
Name
7+1 =