摘要:
There are two ways to correctly type checks number: When using Number.prototype methods, some of them return String as result: We can see this string: 阅读全文
posted @ 2019-06-18 21:19
Zhentiw
阅读(178)
评论(0)
推荐(0)
摘要:
const result = Number('55px'); // isNaN "NaN" console.log(isNaN(result)); // true console.log(isNaN('I am a String!')); // true -- NOT Good console.log(Number.NaN); // safer approach console.log(Nu... 阅读全文
posted @ 2019-06-18 21:12
Zhentiw
阅读(241)
评论(0)
推荐(0)
摘要:
What's your expect of the output?: The answer is 'false'. Because: Therefore if we do calculation on Frontend: The result is not correct. The solution 阅读全文
posted @ 2019-06-18 21:04
Zhentiw
阅读(177)
评论(0)
推荐(0)
摘要:
Proxy configuration: When we have already fews applications running in the workspace, and we want to add 'api' layer for one applicatrion only, we can 阅读全文
posted @ 2019-06-18 17:36
Zhentiw
阅读(352)
评论(0)
推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-06-18 02:34
Zhentiw
阅读(4)
评论(0)
推荐(0)

浙公网安备 33010602011771号