Skip to content

size of undefined in bytes #19809

Answered by boywithkeyboard
river-xd asked this question in Q&A
Discussion options

You must be logged in to vote

@kakashi-69-xd when you don't define a value for a variable, it's value is undefined. So my understanding would be 0 bytes, however this StackOverflow thread considers something different: https://stackoverflow.com/questions/50854916/javascript-memory-impact-of-null-vs-undefined. This question is rather related to Google's V8 than Deno though.

Hope this helps! :)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@boywithkeyboard
Comment options

@river-xd
Comment options

@boywithkeyboard
Comment options

@river-xd
Comment options

Answer selected by river-xd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants