Declare Variable & Assign Value


/ Published in: JavaScript
Save to your folder(s)

Defines a new variable and sets the initial value


Copy this code and paste it in your HTML
  1. var varname = 5;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.