Javascript - Best way to search for a key in an array of arrays?

前端 未结 0 865
悲&欢浪女
悲&欢浪女 2020-12-21 05:15

Basically I\'d like to have a function with two parameters - a key, and an array of arrays. I\'d like to return the entire sub-array that contains the key.

IS there a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题