You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
function UnicornLauncher(apiToken) {
this.launchedCount = 0;
this.launch() {
// make a request to the remote api and include the apiToken
...
this.launchedCount++;
}
}
But I think it's supposed to be this:
function UnicornLauncher(apiToken) {
this.launchedCount = 0;
this.launch = function(){
// make a request to the remote api and include the apiToken
this.launchedCount++;
}
this.launch()
}