smallestCommons([1, 5])
应返回一个数字。'
testString: assert.deepEqual(typeof smallestCommons([1, 5]), 'number');
- text: 'smallestCommons([1, 5])
应该返回60。'
testString: assert.deepEqual(smallestCommons([1, 5]), 60);
- text: 'smallestCommons([5, 1])
应该返回60。'
testString: assert.deepEqual(smallestCommons([5, 1]), 60);
- text: 'smallestCommons([2, 10])
2,10 smallestCommons([2, 10])
应返回2520。'
testString: assert.deepEqual(smallestCommons([2, 10]), 2520);
- text: 'smallestCommons([1, 13])
1,13 smallestCommons([1, 13])
应返回360360。'
testString: assert.deepEqual(smallestCommons([1, 13]), 360360);
- text: 'smallestCommons([23, 18])
23,18 smallestCommons([23, 18])
应返回6056820。'
testString: assert.deepEqual(smallestCommons([23, 18]), 6056820);
```