Quiz · Classes · lesson 6 of 12Quiz — parameter propertiesWhat are parameter properties in a TypeScript constructor?[A]Any constructor parameter that has a type. TypeScript turns every argument into a field, so constructor(name: string) {} already creates and fills this.name, and a modifier only changes which code may read that field later.[B]A constructor parameter marked static. TypeScript stores its value on the class itself, so constructor(static name: string) {} keeps one shared name for all the objects, and the body needs no this.name = name line.[C]A constructor parameter with a default value, like constructor(name = "x"). TypeScript treats the default as a field declaration and copies it onto every new object, so no this.name = name is needed.[D]A constructor parameter with public, private, protected or readonly. TypeScript declares a field of that name and assigns the argument to it: constructor(private name: string) {} needs no field or this.name = name.← Backreadonly and parameter propertiesNext →get, set and static