mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 985089 followup: fix mis-spelling of isNaN, r=gfritzsche
This commit is contained in:
parent
efdee4270b
commit
f00c99bc43
@ -252,7 +252,7 @@ Experiments.Policy.prototype = {
|
||||
if (pref !== undefined) {
|
||||
let val = Number.parseFloat(pref);
|
||||
this._log.debug("random sample forced: " + val);
|
||||
if (IsNaN(val) || val < 0) {
|
||||
if (isNaN(val) || val < 0) {
|
||||
return 0;
|
||||
}
|
||||
if (val > 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user