提交 4d91ff31 编写于 作者: 杜庆泉's avatar 杜庆泉

补充typeof NaN Infinity 测试示例

上级 cfdbc90b
......@@ -89,6 +89,8 @@ export function testKeyWord() : Result {
expect(typeof (0.0)).toEqual('Double')
// #endif
expect(typeof (NaN)).toEqual('number')
expect(typeof (Infinity)).toEqual('number')
expect(typeof ("hello world")).toEqual('string')
expect(typeof ([1, 2, 3])).toEqual('object')
expect(typeof (new Array<any>())).toEqual('object')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册