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

14 lines
386 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
esid: sec-decodeuri-encodeduri
description: decodeURI.length === 1
---*/
//CHECK#1
if (decodeURI.length !== 1) {
throw new Test262Error('#1: decodeURI.length === 1. Actual: ' + (decodeURI.length));
}