• Subtotal £0.00
  • Estimated Delivery FREE
  • Total to pay £0.00
Your basket appears to be empty
Cancel

Sign in to your VictoriaPlum.com account

Cancel

Create your VictoriaPlum.com account

Save your basket and access on any device

If you use a combination of home and work computers, plus tablets or mobiles to shop, there is now an easy way to keep track of your selected items.

  • account

    Simply create a free account with us in a matter of seconds

  • sign-in

    Sign in wherever you shop

  • basket

    Retrieve you saved basket on any device

  • Trustpilot logo 'Excellent'
    Trustpilot logo

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

    Read our customer reviews
  • exchange Free returns & collections

    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
  • Delivery FREE delivery available^

    FREE delivery available^

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

    Read more about delivery
  • price match We price match

    We price match

    Find an equivalent product at a lower price and we'll match it

    More on our price guarantee

Don't have a Trade Account?

Make money, save time, less hassle

Create a Trade Account today in just 1 minute and join our Loyalty Scheme for instant benefits including 15% off your first two orders*

Trade Loyalty Scheme Badge

How would you like to contact us?

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.

chat Chat
close
Hide this