mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-28 16:00:24 +05:30
14 lines
233 B
JavaScript
14 lines
233 B
JavaScript
|
const test = async () => {
|
||
|
};
|
||
|
|
||
|
const obj = {a: 1, b: 1};
|
||
|
|
||
|
const {a, b} = obj;
|
||
|
|
||
|
console.log(a, b, 'ok');
|
||
|
|
||
|
|
||
|
// how to:
|
||
|
// cd to frontend
|
||
|
// > ./node_modules/.bin/babel-node --presets es2015,es2017,stage-0 ./scripts/test-async-await.js
|