Web

Web Development

Javascript setting variable to undefined

In traditional languages like C, we can deallocate the variable but in scripting language Javascript the memory allocation is dynamic so deallocation is not possible. We might sometimes need to set it none before we can do Value or Type comparisons. Read more to find out how.

Scroll to Top