Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeWithHarry/Sigma-Web-Dev-Course
/ constructor
Method
constructor
Video 80/script.js:34–37 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
32
33
class
Lion extends Animal {
34
constructor(name){
35
super(name)
36
console.log(
"Object is created and he is a lion..."
)
37
}
38
39
eats(){
40
super.eats()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected