test262/test/built-ins/decodeURI/S15.1.3.1_A5.4.js

16 lines
407 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: The length property of decodeURI is 1
es5id: 15.1.3.1_A5.4
es6id: 18.2.6.2
esid: sec-decodeuri-encodeduri
description: decodeURI.length === 1
---*/
//CHECK#1
if (decodeURI.length !== 1) {
$ERROR('#1: decodeURI.length === 1. Actual: ' + (decodeURI.length));
}