// @public {Property.<number>} spring constant of spring
this.springConstantProperty = new NumberProperty( MassesAndSpringsConstants.SPRING_CONSTANT_RANGE.defaultValue, {
tandem: tandem.createTandem( 'springConstantProperty' ),
units: 'newtons/meters',
range: new Range( Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY )
} );
Is it intentional that the springConstant specifies a different Range than SPRING_CONSTANT_RANGE? If not, we should use range: MassesAndSpringsConstants.SPRING_CONSTANT_RANGE. If so, the discrepancy should be documented.
During https://github.com/phetsims/dot/issues/79 I noticed this code:
Is it intentional that the springConstant specifies a different Range than
SPRING_CONSTANT_RANGE
? If not, we should userange: MassesAndSpringsConstants.SPRING_CONSTANT_RANGE
. If so, the discrepancy should be documented.