b91c3dd50e7bbf48ddff1ca0a322c3e0529a03a8
[platform/framework/web/crosswalk-tizen.git] /
1 'use strict';
2
3 module.exports = function (t, a) {
4         var o = { first: 1, second: 4 }, r1, r2;
5         o = Object.create(o, {
6                 third: { value: null }
7         });
8         o.first = 2;
9         o = Object.create(o);
10         o.fourth = 3;
11
12         r1 = t(o);
13         r1.sort();
14         r2 = ['first', 'second', 'third', 'fourth']
15                 .concat(Object.getOwnPropertyNames(Object.prototype));
16         r2.sort();
17         a.deep(r1, r2);
18 };