~webapps/unity-js-scopes/node.js

« back to all changes in this revision

Viewing changes to tools/eslint/node_modules/escope/node_modules/es6-weak-map/node_modules/es5-ext/test/number/is-finite/shim.js

  • Committer: Marcus Tomlinson
  • Date: 2015-11-13 07:59:04 UTC
  • Revision ID: marcus.tomlinson@canonical.com-20151113075904-h0swczmoq1rvstfc
Node v4 (stable)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'use strict';
 
2
 
 
3
module.exports = function (t, a) {
 
4
        a(t(2), true, "Number");
 
5
        a(t('23'), false, "Not numeric");
 
6
        a(t(NaN), false, "NaN");
 
7
        a(t(Infinity), false, "Infinity");
 
8
};