← 返回 snowflake 的题目列表Simple TypeScript Program
类型:online_judge
Write a simple TypeScript program. Create a function that receives an array of strings and returns an array with the length of each string in the input array.
Example
Input: ['hello', 'world']
Output: [5, 5]
Constraints
The array length is at most 100.
String length is at most 100.
Example
Input
['hello', 'world']