Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 30_Classes.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Class is Template Object for creating JS Objects
// It itself isin't an Object. But you can create using it
// Class is a Template for creating JS Objects
// It isn't an Object. But you can create objects using it

class Company {
constructor(company_name, founder, founded_in) {
Expand All @@ -24,4 +24,4 @@ class Company {
let my_company = new Company("Abd Pvt Ltd", "arkalsekar", 343)
console.log(my_company.get_company_name())
console.log(my_company.get_founder_name())
console.log(my_company.get_founded_year())
console.log(my_company.get_founded_year())