const arr = ['a', '', 'b', '', 'c', '', 'd', '', 'e'];
// 新的迭代器方法
const result = arr.values()
.filter(x => x.length > 0) // 过滤空字符串
.drop(1) // 跳过第一个元素
.take(3) // 只取前3个
.map(x => `=${x}=`) // 转换格式
.toArray(); // 转成数组
Add any other context or screenshots about the feature request here.