Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Multiply (Intro) solution in Clear category for Multiply (Intro) by Atadolfo
import assert from "assert";
var multTwo = (a: number, b: number): number => 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!");
April 23, 2020
Comments: