Create an object declaration with an init {} block, peek inside with a debugger and find out the actual name of the function containing your initialization code.
Advanced debugger features
Class initializer
Report a typo
Enter a short text
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.