blob: 16804d115c6ef95cf38846e1afc5e4cea824c0d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-date.prototype.tojson
es5id: 15.9.5.44-0-1
description: Date.prototype.toJSON must exist as a function
---*/
var f = Date.prototype.toJSON;
assert.sameValue(typeof(f), "function", 'typeof(f)');
|