React-native suddenly made this mistake. I don't know why everything was fine before.

The

clipboard.png
question is shown in the picture. Does anyone know why?
my code says this:

    ChatMessage = (item) => {
        const { navigate } = this.props.navigation;
        item["chattype"] = "Friends"
        navigate("ChatMessage", item);
    }
Unhandled JS Exception: TypeError: One of the sources for assign has an enumerable key on the prototype chain. Are you trying to assign a prototype property? We don"t allow it, as this is an edge case that we do not support. This error is a performance optimization and not spec compliant.
Apr.03,2021
The parameter passed by

causes

Menu