MediaWiki:Common.js: Difference between revisions
From Idle Clans wiki
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
let (test) => { | let (test) => { | ||
let testing = document.getElementByID("test") | let testing = document.getElementByID("test") | ||
testing.innerText = x | |||
} | } |
Revision as of 19:45, 28 April 2024
/* Any JavaScript here will be loaded for all users on every page load. */ let x = 12 let (test) => { let testing = document.getElementByID("test") testing.innerText = x }