Module global

Functions available in global namespace (in addition to those made available by JavaScript).

Module Summary

Using debug

debug('this message is logged when line executed');
debug('cost = ' + FILLZ.ITEM.cost); //output cost value

Using assertEq

assertEq(1+1, 2); // check that math is still working
assertEq(FILLZ.venue, 'amazon'); // fail if the script is run on another venue besides Amazon


  • debug(msg)

    Outputs the provided message if debug level logging is enabled.


    • msg String -- Message to append to log
  • assertEq(got, expected)

    Throws exception if got != expected. Useful for testing and verification of assumptions in code.


    • got -- The value we got
    • expected -- The value we expected