class Employee {
func calculateSalary() {
-> how can I print name of the variable call in this function?
}
}
Example:
let johnny = Employee()
johnny.calculateSalary()
-> It will print "johnny" in function calculateSalary()
Selecting any option will automatically load the page