-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: animationsfreq2: mediumtype: bug/fix
Milestone
Description
| let min = 0; |
function () {
var /** @type {?} */ min = 0;
this.players.forEach(function (player) {
var /** @type {?} */ p = player.getPosition();
min = Math.min(p, min);
});
return min;
};
IS THIS A BUG ???
when min = 0, it always 0 unless player.getPosition() < 0
maybe like this : var min = 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: animationsfreq2: mediumtype: bug/fix