1
// Copyright 2009 the Sputnik authors. All rights reserved.
2
// This code is governed by the BSD license found in the LICENSE file.
5
* Function declarations in global or function scope are {DontDelete}
7
* @path ch13/13.0/S13_A12_T2.js
8
* @description Checking if deleting a function that is declared in function scope fails
11
ALIVE="Letov is alive"
19
//////////////////////////////////////////////////////////////////////////////
22
$ERROR('#1: delete __func returning false');
25
//////////////////////////////////////////////////////////////////////////////
27
//////////////////////////////////////////////////////////////////////////////
29
if (__func() !== ALIVE) {
30
$ERROR('#2: __func() === ALIVE. Actual: __func() ==='+__func());
33
//////////////////////////////////////////////////////////////////////////////