Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1-liner: Multiplication solution in Uncategorized category for Multiply (Intro) by --Serial_Sniper--
import assert from "assert";
function multTwo(a: number, b: number): number {return a * b;}
console.log('Example:');
console.log(multTwo(3, 2));
// These "asserts" are used for self-checking
assert.equal(multTwo(3, 2), 6);
assert.equal(multTwo(0, 1), 0);
console.log("Coding complete? Click 'Check' to earn cool rewards!");
June 6, 2020