This commit is contained in:
		@@ -19,19 +19,19 @@ const FAIL_CRITERIA = {
 | 
				
			|||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class Dimensions {
 | 
					class Dimensions {
 | 
				
			||||||
    constructor(length, width, height) {
 | 
					    constructor(width, depth, height) {
 | 
				
			||||||
        this.length = length;
 | 
					 | 
				
			||||||
        this.width = width;
 | 
					        this.width = width;
 | 
				
			||||||
 | 
					        this.depth = depth;
 | 
				
			||||||
        this.height = height;
 | 
					        this.height = height;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    toString() {
 | 
					    toString() {
 | 
				
			||||||
        return `${this.length}x${this.width}x${this.height}`;
 | 
					        return `${this.width}x${this.depth}x${this.height}`;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    static fromDict(data) {
 | 
					    static fromDict(data) {
 | 
				
			||||||
        const { length, width, height } = data;
 | 
					        const { width, depth,  height } = data;
 | 
				
			||||||
        return new Dimensions(length, width, height);
 | 
					        return new Dimensions(width, depth, height);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user