//shorthand method for casting a string into an int let string = '1776'; let total = 10 - +string; //above the addition symbol does the same as parseInt(string); //result: total = 1766