8169cd235344d90c9990a685e25417121915dcc8
[platform/framework/web/crosswalk-tizen.git] /
1 'use strict';
2
3 module.exports = function (t, a) {
4         var x = {}, y = Object.create(null);
5         a(t(x), null, "Normal: Empty");
6         a(t(y), null, "Null extension: Empty");
7         x.foo = 'raz';
8         x.bar = 343;
9         a(['foo', 'bar'].indexOf(t(x)) !== -1, true, "Normal");
10         y.elo = 'foo';
11         y.mar = 'wew';
12         a(['elo', 'mar'].indexOf(t(y)) !== -1, true, "Null extension");
13 };