Accessing a JavaScript function of an object using [] instead of a dot (.)
Today's post is super short and simple and it's probably known to most developers.
It's about accessing a function of an object using [] instead of dot (.)
Let's say you have a condition - if flag is true then use max, if false, use min.
let result, ...
anjanesh.dev1 min read