Skip to content

Console.log() falls when arg is null #108

@Yanrishatum

Description

@Yanrishatum

When I send a null into log function it falls.
My fast fix of that: (@ line 52 of Console.as)
if (data[i] == null) s += "null";
else s == data[i].toString();
i++;
}
}
else if (data[0] == null) s = "null";
else s = data[0].toString();

As sample: I required make null-check instruction when call log(collide( ... ) );

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions