freeCodeCamp/guide/spanish/certifications/javascript-algorithms-and-data-structures/basic-javascript/subtract-one-number-from-another-with-javascript/index.md
2018-10-16 21:32:40 +05:30

336 B

title localeTitle
Subtract One Number from Another with JavaScript Resta un número de otro con JavaScript

Resta un número de otro con JavaScript

Usando el operador de resta '-', puedes obtener la diferencia de dos números ...

var diff1 = 30 - 14; // Difference is 16 
 var diff2 = 90 - 60; // Difference is 30