Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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