Jade\Compiler\CompilerUtils::initArgToNull PHP Method

initArgToNull() protected static method

Concat " = null" to initializations to simulate the JS "var foo;".
protected static initArgToNull ( &string &$arg )
$arg &string
    protected static function initArgToNull(&$arg)
    {
        $arg = static::addDollarIfNeeded(trim($arg));
        if (strpos($arg, '=') === false) {
            $arg .= ' = null';
        }
    }