Helpful Functions

Helpful functions for main script

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://greasyfork.org/scripts/395585-helpful-functions/code/Helpful%20Functions.js?version=767470

function twoDigit(digit){
    return (String(digit).length == 1 ? '0':'') + digit;
}