i am new to web development (currently been learning Angular) and i was just curious how does this work.
First of all i created a class with variables in it and then