Skip to content

Commit

Permalink
Use @returns instead of @return, see phetsims/chipper#557
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jan 8, 2019
1 parent 99d5611 commit 29f962c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/common/RandomUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ define( function( require ) {

/**
* Gets a random sign.
* @return +1 or -1
* @returns {number} +1 or -1
*/
nextSign: function() {
return ( RANDOM.nextBoolean() ? +1 : -1 );
},

/**
* Gets a random angle >= 0 and < 2 * PI.
* @return angle, in radians
* @returns {number} angle, in radians
*/
nextAngle: function() {
return RANDOM.nextDouble( 0, 2 * Math.PI );
Expand Down

0 comments on commit 29f962c

Please sign in to comment.