Closed blairlearn closed 1 year ago
I do like @adrian 's suggestion for the conditional for the sake of consistency.
@adriancofie Interesting. I wasn't aware of the instanceof
operator. (The use of .constructor
was a workaround for typeof
returning Object
on the array.)
167