Code viewer for World: Test World
function test ()
{
    console.log("Basic function");
}

const test1 = () => {
    console.log("Basic arrow function");
};

const test2 = async () => {
    console.log("async arrow function");
};

test();
test1();
test2();

const testobj = {
    parent: {
        child: {
            grandchild: {
                text: "hello"
            }
        }
    }
}


if (testobj?.parent?.child?.grandchild?.text){
    console.log("Yay")
}