gpt4 book ai didi

javascript - 禁用 JSHint 警告 : Expected an assignment or function call and instead saw an expression

转载 作者:IT王子 更新时间:2023-10-29 03:21:19 24 4
gpt4 key购买 nike

<分区>

我有以下行:

imageUrl && (data.imageUrl = imageUrl);

对于这一行,JSHint 提示:

 Expected an assignment or function call and instead saw an expression.

我理解警告,但我想禁用它。我找不到怎么做的方法。有什么想法吗?

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com