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
Here is my code and it is tested and working properly in js console, but for some reason the app is not accepting it as correct answer. Also if it is helpful we have checked that answer provided by you here (https://github.com/rmurphey/js-assessment-answers/blob/master/app/count.js) does not correctly working during counting. With that way you cant stop the counting whenever you want (mean that you can apply cancel method only right after calling count method: instance.count().cancel()).
Here is our version:
count: function(start,end) {
var Timer = function(start,end){
var timeout;
var that = this;
this.startCount = function() {
Here is my code and it is tested and working properly in js console, but for some reason the app is not accepting it as correct answer. Also if it is helpful we have checked that answer provided by you here (https://github.com/rmurphey/js-assessment-answers/blob/master/app/count.js) does not correctly working during counting. With that way you cant stop the counting whenever you want (mean that you can apply cancel method only right after calling count method: instance.count().cancel()).
Here is our version:
count: function(start,end) {
var Timer = function(start,end){
var timeout;
var that = this;
this.startCount = function() {
// Stop the counter when you want with stopCount() method.
}
The text was updated successfully, but these errors were encountered: