Skip to content
Snippets Groups Projects
Commit 5d69e309 authored by K. Adam White's avatar K. Adam White Committed by Rick Waldron
Browse files

Add Number.prototype.toFixed return value test

Adds a test to ensure that toFixed returns a string value
parent 6391689a
No related branches found
No related tags found
No related merge requests found
// Copyright (C) 2017 K. Adam White. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 20.1.3.3
esid: sec-number.prototype.tofixed
description: >
Number.prototype.toFixed returns a string value
---*/
assert.sameValue(typeof (123.456).toFixed(), "string");
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment