From 13bd4bb780b8af0701ac8ab0b408aebbf27dc00f Mon Sep 17 00:00:00 2001 From: Benjamin Smedberg Date: Fri, 4 Apr 2014 09:16:58 -0400 Subject: [PATCH] Bug 985089 followup: fix mis-spelling of isNaN, r=gfritzsche --- browser/experiments/Experiments.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/experiments/Experiments.jsm b/browser/experiments/Experiments.jsm index f4bdf2b4ba7..f2d2220596e 100644 --- a/browser/experiments/Experiments.jsm +++ b/browser/experiments/Experiments.jsm @@ -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) {