Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for [old] Say Hi by Sim0000
"use strict";
function sayHi(name, age) {
return "Hi. My name is " + name + " and I'm " + age + " years old";
}
var assert = require('assert');
if (!global.is_checking) {
assert.equal(sayHi("Alex", 32), "Hi. My name is Alex and I'm 32 years old")
assert.equal(sayHi("Frank", 68), "Hi. My name is Frank and I'm 68 years old")
console.log("Coding complete? Click 'Check' to review your tests and earn cool rewards!");
}
Nov. 25, 2017