Please help me understand how and when a value is being passed to the resultObject in this code.

mr1971mr1971 Trinidad and Tobago

var DATES=(function(module){
module.getDates = function(resultObject){

    var dt = new Date();
    var amtDates = document.getElementById('numDates');

        dt.setDate(dt.getDate() + i);

        resultObject.prepend(dt + '<br>');
return module;

}(DATES || {}));

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!