在 JavaScript 中,如何查找包含某些字母的数组元素?
例如,我怎么能确定find在下面的匹配super和phone,但不wood?
var array1 = ["super", "phone", "wood"]
find("h", "n", "e")
message.channel.send(results) // should send phone
Run Code Online (Sandbox Code Playgroud)
我在 discord.js 上做这件事,而且相当新