Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Clear&Readable solution in Clear category for [old] Multiply (Intro) by SaintDron
"use strict";
const multTwo = (a, b) => a * b;
var assert = require('assert');
if (!global.is_checking) {
console.log('Example:');
console.log(multTwo(3, 2));
// These "asserts" are used for self-checking and not for an auto-testing
assert.equal(multTwo(3, 2), 6);
assert.equal(multTwo(1, 0), 0);
console.log("Coding complete? Click 'Check' to earn cool rewards!");
}
May 10, 2019