Revision control
Copy as Markdown
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
The production Block { } in strict code can't contain function
declaration;
description: Trying to declare function at the Block statement
negative: SyntaxError
flags: [onlyStrict]
---*/
"use strict";
{
function __func(){}
}