mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
25 lines
585 B
Plaintext
25 lines
585 B
Plaintext
// Copyright (C) 2019 Leo Balter. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
path: language/statementList/fn-
|
|
name: Valid syntax of StatementList starting with a Function Declaration
|
|
esid: prod-StatementList
|
|
info: |
|
|
StatementList:
|
|
StatementListItem
|
|
StatementList StatementListItem
|
|
|
|
StatementListItem:
|
|
Statement
|
|
Declaration
|
|
|
|
Declaration:
|
|
HoistableDeclaration
|
|
|
|
FunctionDeclaration:
|
|
function BindingIdentifier ( FormalParameters ) { FunctionBody }
|
|
---*/
|
|
|
|
function fn() {}/*{ StatementListItem }*/;
|