LCM should be a function.
testString: assert(typeof LCM == 'function');
- text: LCM([2, 4, 8]) should return a number.
testString: assert(typeof LCM([2, 4, 8]) == 'number');
- text: LCM([2, 4, 8]) should return 8.
testString: assert.equal(LCM([2, 4, 8]), 8);
- text: LCM([4, 8, 12]) should return 24.
testString: assert.equal(LCM([4, 8, 12]), 24);
- text: LCM([3, 4, 5, 12, 40]) should return 120.
testString: assert.equal(LCM([3, 4, 5, 12, 40]), 120);
- text: LCM([11, 33, 90]) should return 990.
testString: assert.equal(LCM([11, 33, 90]), 990);
- text: LCM([-50, 25, -45, -18, 90, 447]) should return 67050.
testString: assert.equal(LCM([-50, 25, -45, -18, 90, 447]), 67050);
```