Follow

or we use immutable data and never have the question, "wait... did this get emptied?"

Interesting how the concept itself goes away.


---
RT @VladPasca5
JavaScript tip💡

You can use the syntax "array.length = 0" to empty an array

Here is how it works

👇

twitter.com/VladPasca5/status/

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.