7d1a9b60d4748a998bea5ff3e5cadb79b082cbfa
[platform/framework/web/crosswalk-tizen.git] /
1 'use strict';
2
3 var isDate = require('./is-date');
4
5 module.exports = function (x) {
6         if (!isDate(x)) throw new TypeError(x + " is not a Date object");
7         return x;
8 };