function getClientArg(name) {
  if (window.__karma__ && __karma__.config.args.length) {
    return __karma__.config.args[0][name] || null;
  } else {
    return null;
  }
}
Gets the value of an argument passed from karma.
@param {string} name
@return {?}