摘要: Implement the type version of Array.indexOf, indexOf<T, U> takes an Array T, any U and returns the index of the first U in Array T. type Res = IndexOf 阅读全文
posted @ 2022-10-27 14:39 Zhentiw 阅读(15) 评论(0) 推荐(0) 编辑
摘要: Implement the type version of Math.trunc, which takes string or number and returns the integer part of a number by removing any fractional digits. For 阅读全文
posted @ 2022-10-27 14:29 Zhentiw 阅读(15) 评论(0) 推荐(0) 编辑