8 kyu

Classy Classes

7,540 of 18,375matt c

Description:

Classy Classes

Basic Classes, this kata is mainly aimed at the new JS ES6 Update introducing classes

Task

Your task is to complete this Class, the Person class has been created. You must fill in the Constructor method to accept a name as string and an age as number, complete the get Info property and getInfo method/Info getter which should return johns age is 34

Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes

Fundamentals
Object-oriented Programming

Stats:

CreatedJul 11, 2015
PublishedJul 11, 2015
Warriors Trained24912
Total Skips822
Total Code Submissions45041
Total Times Completed18375
JavaScript Completions7540
Ruby Completions498
Crystal Completions25
Python Completions9548
C# Completions1086
Total Stars164
% of votes with a positive feedback rating86% of 1993
Total "Very Satisfied" Votes1556
Total "Somewhat Satisfied" Votes322
Total "Not Satisfied" Votes115
Ad
Contributors
  • matt c Avatar
  • jhoffner Avatar
  • GiacomoSorbi Avatar
  • Souzooka Avatar
  • hobovsky Avatar
  • Just4FunCoder Avatar
  • farhanaditya Avatar
  • saudiGuy Avatar
Ad