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
Create a JavaScript File with this content (the variable c99 is used to wrap the Game class in its own namespace, a common pattern in JavaScript):
var c99 = {};
c99.Game = (function () {
function Count99Game() {
console.log('Count99 game starts.');
this.initGame();
}
Count99Game.prototype.initGame = function () {
this.nextCountLabel = document.getElementById('next-count');
};
return Count99Game;
})();
Right-click on the "initGame" function on line 6 and choose "Go to Definition". Nothing happens. Expected behavior: The cursor should be positioned on line 9 where the function is defined. Works in NetBeans, for example.
The text was updated successfully, but these errors were encountered:
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: