Topalian_JavaScript_Shorcuts

Topalian_JavaScript_Shortcuts by Christopher Topalian.pdf

// Dedicated to God the Father


// All Rights Reserved Christopher Topalian Copyright 2000-2023


// https://github.com/ChristopherTopalian


// https://github.com/ChristopherAndrewTopalian


// Topalian_JavaScript_Shortcuts.js


// Version 002


// document.getElementById shortcut

function ge(whichElement)

{

    let result = document.getElementById(whichElement);


    return result;

}


// document.createElement shortcut

function ce(whichType)

{

    let result = document.createElement(whichType);


    return result;

}


// document.body.append shortcut

function ba(whichElement)

{

    let result = document.body.append(whichElement);


    return result;

}