test262/test/built-ins/encodeURI/S15.1.3.3_A5.4.js

14 lines
360 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 encodeURI is 1
es5id: 15.1.3.3_A5.4
description: encodeURI.length === 1
---*/
//CHECK#1
if (encodeURI.length !== 1) {
$ERROR('#1: encodeURI.length === 1. Actual: ' + (encodeURI.length));
}