Multiple choice technology web technology

Which is the correct way to create a ListGrid ?

  1. isc.ListGrid.create({ ID:"test", left:50, top:150, width:600, height:400, });

  2. isc.ListGrid.create({ ID:"test"; left:50; top:150; width:600;height:400; });

  3. isc.ListGrid.create({ ID:"test", left:50, top:150, width:600, height:400 });

  4. None

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

JavaScript objects use comma separators between key-value pairs, not semicolons. Option A also has a trailing comma which is unnecessary. Option C shows correct syntax.