projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f1eeafa9778863c41f07690c0bf1fd8af3b10f04
[platform/framework/web/crosswalk-tizen.git]
/
1
'use strict';
2
3
var numIsNaN = require('../../number/is-nan');
4
5
module.exports = function (t, a) {
6
var x;
7
a(t(0), 0, "0");
8
a(t(false), false, "false");
9
a(t(''), '', "''");
10
a(numIsNaN(t(NaN)), true, "NaN");
11
a(t(x = {}), x, "{}");
12
13
a.throws(function () {
14
t();
15
}, "Undefined");
16
a.throws(function () {
17
t(null);
18
}, "null");
19
};