提交 9129a17e 编写于 作者: 杜庆泉's avatar 杜庆泉

Merge branch 'dev' of gitcode.net:dcloud/hello-uts into dev

......@@ -63,7 +63,7 @@ export function testNumber(): Result {
expect(isFinite(0)).toEqual(true);
})
test('isInteger', () => {
expect(Number.isInteger(12.0)).toEqual(true);
expect(Number.isInteger(12)).toEqual(true);
expect(Number.isInteger(12.01)).toEqual(false);
expect(Number.isInteger(-213123112.01)).toEqual(false);
expect(Number.isInteger(-213123112)).toEqual(true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册