loading...

re: How to check if Variable is an Array in JavaScript VIEW POST

FULL DISCUSSION
 

Hi Samantha, excellent post !! I didn't know about the Array gotchas between different frames, so thanks for share it. I think in the typeof table you can include Symbol and BigInt as examples also :)

 

Ya, that was an interesting discovery for me as well 🙂 I was thinking about including Symbol and BigInt, but I thought I was introducing too much. But for completeness, that should absolutely be included 😆

code of conduct - report abuse