Class.from don't throw an error if function's prototype is undefined (occures with some native functions)