tzafrir/google-plus-extension-jsapi — comment on commit c16ac9861051bd4fa417d191a8b74b9ab544e926
File: jsapi/jsapi_for_google_plus.js line 951
By mohamedmansour:

A JS way that I learned from others to deal with optional parameters is doing it this way:

var abuseReason = opt_abuseReason || GooglePlusAPI.AbuseReason.SPAM'

You use the OR operator in the line, we can convert that in a later push!