class Pencil { constructor(price) { this.price = price; } isExpensive() { return this.price >= 10; } } //usage const bic = new Pencil(3); bic.isExpensive();
false