constructor functions attributes vs properties

quick question, when assigning a property in a constructor i am receiving an issue with the function itself…I have coded as such, using length, width , height in the function…but is this incorrect should only peramiters go there? and properties else?

 function CuboidMaker(length, width, height){
 this.width = width; 
 this.height = height;
 this.length = length;

this issue is when i end up typing this.length =length it immediately reports and issue with it and then also causes my function to highlight. just wondering is the properties are in different spots vs peram?