Take new screenshot
- Dominant language
- No language data
- Stars
- 24
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Hey @nesl247!
Can you update the screenshot to use the new code snippet?
## New Snippet
```js
/*
* Once upon a time...
*/
class Vampire {
constructor(props) {
this.location = props.location;
this.birthDate = props.birthDate;
this.deathDate = props.deathDate;
this.weaknesses = props.weaknesses;
}
get age() {
return this.calcAge();
}
calcAge() {
return this.deathDate - this.birthDate;
}
}
// ...there was a guy named Vlad
const Dracula = new Vampire({
location: 'Transylvania',
birthDate: 1428,
deathDate: 1476,
weaknesses: ['Sunlight', 'Garlic']
});
```
## Why use this?
* It contains examples of string, number, and array
* It contains examples of single line and multi-line comments
* It contains examples of inheritance and functions
* It's simple, funny, and silly
## Want to use another language?
Feel free to send a pull request to the [template repo](https://github.com/dracula/template) under the `sample` folder.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.