2011-09-07 08:35:18 +02:00
|
|
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
2014-07-22 01:09:02 +02:00
|
|
|
/*---
|
|
|
|
info: The length property of the Math.min method is 2
|
2014-07-25 00:41:42 +02:00
|
|
|
es5id: 15.8.2.12_A4
|
2014-07-22 01:09:02 +02:00
|
|
|
description: Checking if Math.min.length property is defined and equals to 2
|
|
|
|
---*/
|
2021-08-11 21:20:01 +02:00
|
|
|
assert.sameValue(typeof Math.min, "function", 'The value of `typeof Math.min` is expected to be "function"');
|
|
|
|
assert.notSameValue(typeof Math.min.length, "undefined", 'The value of typeof Math.min.length is not "undefined"');
|
|
|
|
assert.sameValue(Math.min.length, 2, 'The value of Math.min.length is expected to be 2');
|