Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged 求数组中最短字符串长度

0 votes
2.6k views
1 answer
    比如 var arr=["flight", "flow", "flower"]; 最短 'flow' 我印象中。。。。 arr.reduce((c,p)=>{return c.length<p.length?c.length:p.length}) 我这是错误的写法 忘记如何写了 求大佬更正...
asked Jan 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

56.7k users

...