How to perform 'GCD' in TypeScript.
// Task: GCD
// Language: TypeScript
function gcd() {
// Implementation for GCD
let result = ...; // Initialize variable
// TODO: Implement core logic here
// Step 1: Prepare data
// Step 2: Process GCD
console.log("Done");
}