Answers for "declare empty variable javascript"

0

declare empty variable javascript

It's initialized to undefined by default, just use that, you don't have to write it out:

var obj;
If it you want to concatenate to a string, use '', for counters use 0... Just use common sense.
Posted by: Guest on March-11-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language