Computer Science, asked by ayan1766, 1 year ago

how will you declare variables sub 1 sub 2 sub 3 in java svript

Answers

Answered by Anonymous
5

Hi,

We can declare a variable in javascript using var keyword

so we can declare sub1, sub2 and sub3 variable like below

var sub1;

var sub2;

var sub3;

however we also write this like below

var sub1, sub2, sub3;



ayan1766: tq fr helping me
Similar questions