Roman86

1,601
reputation
15
18
    const Roman = {
        skillsRequest(callback) {
            return new Promise((resolve, reject) => {
                if (moment().isBefore(moment(9, 'hours'))) {
                    reject("I need a coffee and shower. Ping me after 9am ;)");
                } else {
                    this.letMeThink(somethingElseIMightForget => resolve({
                        frontEnd: [...this.frontEndSkills, {'someLibs': ['underscore/lodash', 'moment', 'pusher', 'web-sockets']}],
                        backEnd: this.backEndSkills,
                        angular: 'nope',
                        vue: 'yes please',
                        other: ['github', 'npm', 'UML', 'OOP', ...somethingElseIMightForget]
                    }))
                }
            }).then(callback, callback)
        },
        frontEndSkills: ['JS', 'ES6', 'Webpack', 'Vue', 'Vuex', 'SASS/SCSS', 'Promises A+'],
        backEndSkills: ['nodejs', 'express'],
        letMeThink: callback => setTimeout(
            callback.bind(null, ['PHP', 'Software Development Anti-Patterns', 'NativeScript', 'Blitz3D', 'C#', 'C++']),
            1000
        ),
        kindOf: 'superhero'
    }