function AcceptAnyType(x) {
console.log(`The type of x is: ${typeof x}`);
}
AcceptAnyType(384);
AcceptAnyType("ABCD");
AcceptAnyType(3.14);
AcceptAnyType([1, 2, 3]);
AcceptAnyType(new Date());
AcceptAnyType({});
/*
run:
The type of x is: number
The type of x is: string
The type of x is: number
The type of x is: object
The type of x is: object
The type of x is: object
*/