Skip to content

Commit

Permalink
change let -> const if not reassigned, phetsims/tasks#973
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Dec 12, 2018
1 parent ea6c2b7 commit 234489a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/model/PointTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ define( require => {
!onQuadratic.hasSolution( location, offDistance ) ) {
onQuadratic = null;
for ( let i = 0; i < quadratics.length && !onQuadratic; i++ ) {
let quadratic = quadratics[ i ];
const quadratic = quadratics[ i ];
if ( quadratic.hasSolution( location, onDistance ) ) {
onQuadratic = quadratic;
}
Expand Down

0 comments on commit 234489a

Please sign in to comment.