[javascript] find value with array’s key

hansol yang
1 min readFeb 2, 2020

--

for example,

const a = {a:"c", b:"a", c:"b"}console.log(a["b"])
// "a"

actually, I did’t know it can use find value with key(type is string).
I think it is pretty usefull!

--

--

No responses yet