Amjad Masad a17d62ca2b Convert the constants transform plugin to a validation plugin
A follow up from https://github.com/babel/babel/pull/2969 were we added support for consts in the block-scoping plugin.
2015-11-11 10:45:31 -08:00

5 lines
118 B
JavaScript

const [a, b] = [1, 2];
const [c, d] = [3, 4];
const { e, f } = { e: 5, f: 6 };
const { a: g, b: h } = { a: 7, b: 8 };