Order by 5pm TOMORROW for delivery before the weekend

Free VIP delivery^ over £199

  • Trustpilot logo 'Excellent'
    Trustpilot logo

    We're rated 'Excellent' with a score of 9.3/10 on independent review site Trustpilot.

    Read our customer reviews
  • Hassle-free returns

    Not 100% happy with your product?

    Return your items within 30 days for a full refund or exchange up to a whole year later.

    More on our returns policy
  • FREE VIP delivery over £199^

    FREE VIP delivery over £199^

    Delivered by our team to the room where you need it. Helps make your life easier.

    Read more about delivery
  • Quality products you can trust

    Quality products you can trust

    Because we believe in the superior quality of our products, we offer FREE extended guarantees, giving you complete peace of mind

    Find out about our product guarantees

Shopping

Services

About Us

JavaScript Developer


class JobSeeker {
    constructor(skillSet = [], attitude = []) {
        this.skillSet = skillSet;
        this.attitude = attitude;
    }

    hasSkill(skill) {
        return this.skillSet.indexOf(skill) !== -1;
    }

    hasRightAttitude(attitude) {
        return this.attitude.indexOf(attitude) !== -1;
    }
}

class VictoriaPlum {
    constructor() {
        this.atmosphere = ['Sociable', 'Informal', 'Collaborative'];
        this.searchingFor = {
            essentialSkills: [
                'Modular JavaScript',
                'ES6',
                'Gulp',
                'Webpack',
                'Git',
                'HTML5',
                'Clean Code',
                'Problem Solving'
            ],
            desirableSkills: [
                'TypeScript',
                'Mocha',
                'React',
                'BDD',
                'SASS',
                'LESS',
                'E-commerce'
            ],
            attitude: ['Positive', 'Enthusiastic', 'Willing to learn']
        };
    }
}

class JobOpportunity {
    constructor(jobSeeker, company) {
        this.jobSeeker = jobSeeker;
        this.company = company;
    }

    applyToday() {
        let desirability = 0;

        for (let skill of this.company.searchingFor.essentialSkills) {
            if (! this.jobSeeker.hasSkill(skill)) {
                return `We would really like someone who knows ${skill}.
                If you brush up on that skill please apply again.`;
            }
        }

        for (let skill of this.company.searchingFor.desirableSkills) {
            if (this.jobSeeker.hasSkill(skill)) {
                desirability++;
            }
        }

        for (let attitude of this.company.searchingFor.attitude) {
            if (this.jobSeeker.hasRightAttitude(attitude)) {
                desirability++;
            }
        }

        let desirables = this.company.searchingFor.desirableSkills.length
        	+ this.company.searchingFor.attitude.length;

        if (desirability === desirables) {
            return `Just what we are looking for - come and see us right away!`;
        }

        return `Please apply today!`;
    }
}

let jobOpportunity = new JobOpportunity(
    new JobSeeker(
        [/* insert your skill set here */],
        [/* insert your attitude here */]
    ),
    new VictoriaPlum()
);

console.log(jobOpportunity.applyToday());

Essential skills

Desirable skills

If this sounds like the type of challenge you're looking for, you can apply by sending your CV and covering letter to careers@victoriaplum.com.

Click here to talk to our live chat team
brochure
Order your FREE brochure now
| 196 pages of bathroom bliss delivered in 3-5 days Order your copy now
go-to
close
Hide this