Skip to content

TypeError: null is not an object (evaluating 'constr.toString().match(self.rx_function)') #118

Open
@mauro-ferrario

Description

@mauro-ferrario

Hi, I have this issue only on some old version of iPad. The issue is on line 458:

cnName = constr.toString().match(self.rx_function)[1];

I don't know if it's the best solution, but I solved in that way:

cnName = constr.toString().match(self.rx_function) ? [1] : null;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions