mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
358 B
TypeScript
12 lines
358 B
TypeScript
//// [tests/cases/conformance/es6/destructuring/declarationWithNoInitializer.ts] ////
|
|
|
|
//// [declarationWithNoInitializer.ts]
|
|
var [a, b]; // Error, no initializer
|
|
var {c, d}; // Error, no initializer
|
|
|
|
|
|
//// [declarationWithNoInitializer.js]
|
|
"use strict";
|
|
var [a, b]; // Error, no initializer
|
|
var { c, d }; // Error, no initializer
|