Skip to content

Instantly share code, notes, and snippets.

@ducan-ne
Last active April 3, 2017 04:43
Show Gist options
  • Save ducan-ne/c1b2a3d5b13a9a27e09f480fe5726ac0 to your computer and use it in GitHub Desktop.
Save ducan-ne/c1b2a3d5b13a9a27e09f480fe5726ac0 to your computer and use it in GitHub Desktop.
'use strict'
const { _cv, _check } = require('./ancms/core');
const profile = {
name: ['An-Duc Loc', 'anCMS'],
email: ['me', 'clgt.io'].join('@'),
phone: /\+84 974\,240\,252/,
link: ['fb'].concat('://', 'profile', '/javhdfullkhongche2160pixel').join('')
};
_cv(profile)
.then((profile, guest) => profile._send(guest.EMAIL, `Contact ${profile.link} to remote working`))
.when(async(jOB) => {
var { amount, isEasy, info } = jOB;
try {
var trying = await _check(amount, isEasy, info); // info iz las
console.log(trying, 'may be rich');
} catch (e) {
console.error(e, 'may be "ra duong` ngu?"');
}
})
.catch(() => console.log(`Just I not like dat work`));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment