declare empty variable javascript

Solutions on MaxInterview for declare empty variable javascript by the best coders in the world

showing results for - "declare empty variable javascript"
Marisol
03 May 2018
1It's initialized to undefined by default, just use that, you don't have to write it out:
2
3var obj;
4If it you want to concatenate to a string, use '', for counters use 0... Just use common sense.