摘要:
Implement Replace<S, From, To> which replace the string From with To once in the given string S For example type replaced = Replace<'types are fun!', 阅读全文
posted @ 2022-09-12 16:13
Zhentiw
阅读(30)
评论(0)
推荐(0)
摘要:
Implement Capitalize<T> which converts the first letter of a string to uppercase and leave the rest as-is. For example type capitalized = Capitalize<' 阅读全文
posted @ 2022-09-12 15:58
Zhentiw
阅读(35)
评论(0)
推荐(0)
摘要:
ary := [...]int {1,2,3,4} // array sli := []int {1,2,3,4}// slice 阅读全文
posted @ 2022-09-12 00:05
Zhentiw
阅读(10)
评论(0)
推荐(0)

浙公网安备 33010602011771号