LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code

Hello World!

CSS
body {
  background-color: #a3d5d3;
}
JS
class JuejinFrontendEnginnerSpecification implements Specification {
  isSatisfiedBy (person) {
    return person.isInteresting() && person.canWriteBUG()
  }
}

class JuejinFrontendEnginner extends FrontendEngineer {
  constructor (person) {
    super(person)
    this.thingList = [
      'ES6+',
      'Node.js v8+',
      'Vue.js v2+',
      'SSR',
      'Chrome (Extension|Headless)',
      'Weixin',
      'Docker',
      ...,
      'rm -rf /',
      'escape'
    ]
  }
  doSomeInterestingThings () {
    this.thingList.forEach(this.tryToPlay.bind(this))
  }
}

const juejinFrontendEnginnerSpecification = new JuejinFrontendEnginnerSpecification()

if (juejinFrontendEnginnerSpecification.isSatisfiedBy(you)) {
  new JuejinFrontendEnginner(you).doSomeInterestingThings()
}
Term
Wed, 12/27/2017 - 06:59

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv