# Pastebin AjW8ROIk const meth = (() => { if (typeof method === 'function') { return method.name; } if (typeof method !== 'string') { throw new Error(...); } }());