Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1-liner: Arrow key func + 3triple assign key solution in 3rd party category for All Upper I by --Serial_Sniper--
import assert from "assert";
var isAllUpper = (text) => { return text === text.toUpperCase(); }
console.log('Example:');
console.log(isAllUpper('ALL UPPER'));
// These "asserts" are used for self-checking
assert.equal(isAllUpper('ALL UPPER'), true);
assert.equal(isAllUpper('all lower'), false);
assert.equal(isAllUpper('mixed UPPER and lower'), false);
assert.equal(isAllUpper(''), true);
console.log("Coding complete? Click 'Check' to earn cool rewards!");
June 14, 2020
Comments: