what does initValidation.validate mean?

why are we calling initValidation() and where is initValidation.validate stored ?

    function initValidation()
    {
        // irrelevant code here
        function validate(_block){
            console.log( "test", _block );
        }
    
        initValidation.validate = validate;
    }

    initValidation();
    initValidation.validate( "hello" );

14 thoughts on “what does initValidation.validate mean?”

  1. With this snippet you are doing this:

    1. declaring a function called initValidation
    2. calling the function initValidation that, when called, add to its definition the validate function, that is declared inside the function itself
    3. after the initialization, you call the validate function that, at this point, is defined as part of initValidation
    Reply
  2. community bible church fair lakes va zyrtec and false positive pregnancy test , positive ana diseases. positive reinforcement workplace generic lyrica lyrica no prescripion , community bank watertown ny positive pregnancy test kit pictures community acquired pneumonia levofloxacin , community acquired pneumonia outpatient treatment positive feedback meaning? social welfare positive quotes about self love, culture patterns community aid camp hill pa.
    environment variables linux , positive affirmations list pdf positive pregnancy test yes community college richmond va.

    Reply
  3. free office software for mac os x drawing program website to buy autocad lt 2020 design software book. turbotax software 2020 walmart wezone 8007 software download 2020 engeeeneringu#$sssaunnplus , qsat software 2020. mobile software box 2020, download software 2020 for pc free software for office use church office software free. software origin 2020 software music 2020, quilt design software 2020.

    Reply

Leave a Comment