For example, I am making a Matrix constructor that'll allow you to perform various calculations, such as matrix multiplication etc:
var Matrix = function(m = []){this.matrix = m; ...};
obviously the main property is the matrix property...is it possible to make it so that if I declare var mat1 = new Matrix([...]); that when I call mat1, it returns the matrix property automatically, unless another property is called?