From 13dfae4da92a26daab05e8aed3141faedb16307f Mon Sep 17 00:00:00 2001
From: Rick Waldron <waldron.rick@gmail.com>
Date: Wed, 28 Jun 2017 11:53:30 -0400
Subject: [PATCH] Fixes test/harness/nans.js

- correction to license
- use Number.isNaN

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
---
 test/harness/nans.js | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/test/harness/nans.js b/test/harness/nans.js
index 51a16ba788..b228838d05 100644
--- a/test/harness/nans.js
+++ b/test/harness/nans.js
@@ -1,4 +1,4 @@
-// Copyright (C) 2017 Rick Waldron, 2016 the V8 project authors.
+// Copyright (C) 2017 Rick Waldron, 2016 the V8 project authors. All rights reserved.
 // This code is governed by the BSD license found in the LICENSE file.
 /*---
 description: >
@@ -11,8 +11,8 @@ description: >
 includes: [nans.js]
 ---*/
 
-assert.sameValue(isNaN(distinctNaNs[0]), true);
-assert.sameValue(isNaN(distinctNaNs[1]), true);
-assert.sameValue(isNaN(distinctNaNs[2]), true);
-assert.sameValue(isNaN(distinctNaNs[3]), true);
-assert.sameValue(isNaN(distinctNaNs[4]), true);
+assert.sameValue(Number.isNaN(distinctNaNs[0]), true);
+assert.sameValue(Number.isNaN(distinctNaNs[1]), true);
+assert.sameValue(Number.isNaN(distinctNaNs[2]), true);
+assert.sameValue(Number.isNaN(distinctNaNs[3]), true);
+assert.sameValue(Number.isNaN(distinctNaNs[4]), true);
-- 
GitLab