User:2NumForIce/sandbox/.js: Difference between revisions

Content deleted Content added
reading the docs later
another test
Line 1:
function myFunction() {
const HelloWorld = Boolean(false)
var element = document.getElementById("wpUploadDescription");
if (!HelloWorld) {
element.classList.add("mw-editfont-monospace");
mw.notify('Hello world', {title: 'Hello World', autoHide: false})
}