JS output for the get ABC function [duplicate]

I looking for this issue where I have the functions
getA - > sync fn getB - > async fn getC - > promise fn
and another fn which is combining and returning the response of all the three functions, i.e getABC fn, which should give me a result in this form.

Result should be in:-

[ result A, result B, Result C]

    function A() {
        return 'A';
    }
    
    function B(callback) {
        setTimeout(() => {
            callback('B')
        }, 10);
    }
    
    function C() {
        return Promise.resolve('C');
    }
    
    function getABC() {
        const extractData = (data) => {
            return data;
        }
        return Promise.all([A(), B(extractData), C()]);
    }

I am getting result something like this ['A', undefined, 'C]
expected => ['A', 'B', 'C']