- 此问题在此处已有答案**:
JSLint: Unexpected 'for'. Unexpected 'var'(2个答案)
22小时前关门了。
有人能告诉我如何消除这个错误出现在jslint?
如何禁用它?
视频显示:https://jsfiddle.net/xrs21efw/
https://www.jslint.com/
function onYouTubeIframeAPIReady() {
const totalP = document.querySelectorAll("[data-container=\"play1\"]");
for (let i = 0; i < totalP.length; i++) {
players.add(".playSingle" + i, (playerVarsList[i] || {}));
}
players.add(".playInitial", {});
}
1条答案
按热度按时间polkgigr1#
请尝试以下操作: