Bake dates into articles

This commit is contained in:
Isabelle Viktoria Maciohsek
2021-06-13 19:52:48 +03:00
parent 65528cce0d
commit 9482b077ec
123 changed files with 246 additions and 0 deletions

View File

@ -5,6 +5,8 @@ tags: javascript,function,class,object
authors: chalarangelo
cover: blog_images/architectural.jpg
excerpt: The constructor is arguably the most crucial part of any JavaScript class, which is why you might want to take a closer look at what they return.
firstSeen: 2020-09-30T19:35:32+03:00
lastUpdated: 2021-06-12T19:30:41+03:00
---
The `constructor` method is a special method of a class for creating and initializing an object of that class. However, there is a little bit of magic involved around it, especially when it comes to its return value. This magic is nothing really complicated, but it seems to often confuse developers.