Foo, Bar, Baz } from Module ?
so it's not a "destructuring import", but just a "named import"
oh I thought it is haha.
const { foo: bar } = require('foo'); import { foo as bar } from 'foo';
Обсуждают сегодня