Skip to content

Instantly share code, notes, and snippets.

@digitalconceptvisuals
Created July 30, 2020 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save digitalconceptvisuals/45344c4b6ebd2f68cc4cd3b3297c0a94 to your computer and use it in GitHub Desktop.
Save digitalconceptvisuals/45344c4b6ebd2f68cc4cd3b3297c0a94 to your computer and use it in GitHub Desktop.
var univ = Auto();
univ.college.stream.year = 2020;
// This is not Auto, its array
univ.college.course = []
univ.college.course[0] = 'Computers'
univ.college.classes = []
univ.college.classes[0] = {name:'Commerce',strength:30}
// Not Auto, so doesn't work
univ.college.classes[2].name = 'Electronics'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment