mirror of
https://github.com/tc39/test262.git
synced 2025-08-28 13:28:38 +02:00
21 lines
597 B
JavaScript
21 lines
597 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/**
|
|
* If Expression is omitted, the return value is undefined
|
|
*
|
|
* @path ch12/12.9/S12.9_A3.js
|
|
* @description Return without Expression
|
|
*/
|
|
|
|
__evaluated = (function (){return;})();
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//CHECK#1
|
|
if (__evaluated !== undefined) {
|
|
$ERROR('#1: If Expression is omitted, the return value is undefined');
|
|
}
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|