[] VS {} VS const{}
[ ] is declaring an array. a list fo elements held by numeric index.
{ } is declaring an object. An object with fields with Names and type+value.
Last updated
Was this helpful?
[ ] is declaring an array. a list fo elements held by numeric index.
{ } is declaring an object. An object with fields with Names and type+value.
Last updated
Was this helpful?