Python Functions With Optional Parameters Javascript Interview