mirror of https://github.com/tc39/test262.git
14 lines
449 B
JavaScript
14 lines
449 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 decodeURIComponent is 1
|
|
esid: sec-decodeuricomponent-encodeduricomponent
|
|
description: decodeURIComponent.length === 1
|
|
---*/
|
|
|
|
//CHECK#1
|
|
if (decodeURIComponent.length !== 1) {
|
|
throw new Test262Error('#1: decodeURIComponent.length === 1. Actual: ' + (decodeURIComponent.length));
|
|
}
|