It seems like you’re trying to assign a value to ‘token’ which is a property of an object, but instead, you’re trying to assign it on a number. This is what’s causing the TypeError. Numbers in JavaScript can’t have properties because they are not objects.

Ensure that the variable or object where you’re trying to set the ‘token’ property is properly defined as an object and not a number.

Here’s how you might be trying to do this:

“`javascript
let obj = {}; // Declare an empty object
obj.token = ‘your_token_string’; // Assign your token string to the ‘token’ property of the object.
“`

In your case, it seems like you have mistakenly assigned a number to the object (10004) before trying to assign a property to it. Make sure you correct this in your code.

© 版权声明
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容