Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Is something wrong with the system?

    {} is the output from:

    var deps = {
      'dep1': function() { return 'this is dep1'; },
      'dep2': function() { return 'this is dep2'; },
      'dep3': function() { return 'this is dep3'; },
      'dep4': function() { return 'this is dep4'; }
    };
    
    console.log(deps);
    

    If there's any functions in the object it removes them all for some reason..

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    If giving integers in JavaScript 00 will be passed to the function as 0 and will result in 10 and not 20 as the example specifies unless I'm missing something...