Click in order · JavaScript and TypeScript course · Module 3: Classes and OOP
Static Method Syntax
Arrange the elements of a static class method:
Items to click
- }
- static
- {
- return new Dinosaur(type)
- create(type)
You can check the correct answer by solving this task in the CodeWorlds game.