summaryrefslogtreecommitdiff
path: root/test/built-ins/JSON/stringify/15.12.3-11-4.js
blob: 2fe1b259483b0cf9365f9d3356ebd36718c4f6ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 15.12.3-11-4
description: JSON.stringify correctly works on top level Number values.
includes: [runTestCase.js]
---*/

function testcase() {
  return JSON.stringify(123) === '123';
  }
runTestCase(testcase);