8 kyu

Classy Classes

7,417 of 17,959matt 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 Trained24408
Total Skips804
Total Code Submissions44196
Total Times Completed17959
JavaScript Completions7417
Ruby Completions495
Crystal Completions25
Python Completions9291
C# Completions1047
Total Stars158
% of votes with a positive feedback rating86% of 1972
Total "Very Satisfied" Votes1541
Total "Somewhat Satisfied" Votes318
Total "Not Satisfied" Votes113
Ad
Contributors
  • matt c Avatar
  • jhoffner Avatar
  • GiacomoSorbi Avatar
  • Souzooka Avatar
  • hobovsky Avatar
  • Just4FunCoder Avatar
  • farhanaditya Avatar
  • saudiGuy Avatar
Ad