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
Similar Kata:
Stats:
Created | Jul 11, 2015 |
Published | Jul 11, 2015 |
Warriors Trained | 24408 |
Total Skips | 804 |
Total Code Submissions | 44196 |
Total Times Completed | 17959 |
JavaScript Completions | 7417 |
Ruby Completions | 495 |
Crystal Completions | 25 |
Python Completions | 9291 |
C# Completions | 1047 |
Total Stars | 158 |
% of votes with a positive feedback rating | 86% of 1972 |
Total "Very Satisfied" Votes | 1541 |
Total "Somewhat Satisfied" Votes | 318 |
Total "Not Satisfied" Votes | 113 |