Jump to content

Wikipedia:Articles for deletion/JavaScript

From Wikipedia, the free encyclopedia
The following discussion is an archived debate of the proposed deletion of the article below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the article's talk page or in a deletion review). No further edits should be made to this page.

The result was [object Object]. (non-admin closure) 💜  melecie  talk - 00:25, 2 April 2023 (UTC)[reply]

JavaScript (edit | talk | history | protect | delete | links | watch | logs | views)
(Find sources: Google (books · news · scholar · free images · WP refs· FENS · JSTOR · TWL)
const body = document.querySelector("body")
body.innerHTML = ""

--AlphaBeta135talk 15:56, 1 April 2023 (UTC)[reply]

Redirect to TypeScript 💜  melecie  talk - 22:34, 1 April 2023 (UTC)[reply]
location.reload();

Also, just use document.body instead of document.querySelector("body").

--Diriector_Doc├─────┤TalkContribs 16:19, 1 April 2023 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the article's talk page or in a deletion review). No further edits should be made to this page.