Skip to content
View souravkl11's full-sized avatar
Block or Report

Block or report souravkl11

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
souravkl11/README.md

Hey there!

function Character(name, age, hobby) {
  this.name = name;
  this.age = age;
  this.hobby = hobby;
}

Character.prototype.bio = function() {
  return `Hi there, I'm ${this.name}, a ${this.age}-year-old who loves working with ${this.hobby}!`;
}

Character.prototype.interests = ['programming', 'workout', 'hanging out with friends'];

const sourav = new Character('Sourav', 16, 'Node.js');
console.log(sourav.bio());
console.log(`My interests include: ${sourav.interests.join(', ')}.`);

Pinned Loading

  1. raganork-md raganork-md Public

    Multi-functional WhatsApp bot project

    JavaScript 901 6.9k

  2. Raganork-legacy Raganork-legacy Public

    Simple Whatsapp bot :)

    JavaScript 130 786