摘要:
function lotteryNum() { return (Math.round(Math.random() * 100) % 58) + 1; } function recordNumber(luckLotteryNumbers: readonly number[], num: number) 阅读全文
posted @ 2022-08-15 19:13
Zhentiw
阅读(21)
评论(0)
推荐(0)
摘要:
Extract is useful for obtaining some sub-part of a type that is assignable to some other type. type FavoriteColors = | "dark sienna" | "van dyke brown 阅读全文
posted @ 2022-08-15 18:53
Zhentiw
阅读(85)
评论(0)
推荐(0)
摘要:
Let’s study a few examples of extends scenarios and see if we can figure out whether it will evaluate to true or false 64 extends number . . . Answer: 阅读全文
posted @ 2022-08-15 01:47
Zhentiw
阅读(19)
评论(0)
推荐(0)

浙公网安备 33010602011771号