MediaWiki:Common.js:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第42行: | 第42行: | ||
// If we reach here, it means that the random value was greater than the total weight, which should never happen. | // If we reach here, it means that the random value was greater than the total weight, which should never happen. | ||
console.log(currentWeight, randomValue); | |||
throw new Error("Random value was greater than total weight."); | throw new Error("Random value was greater than total weight."); | ||
} | } | ||