JavaScript membuat simbol

// creating symbol
const x = Symbol()

typeof x; // symbol
SAMER SAEID