The typeof operator is used to determine the type of value a particular variable/constant is held for Symbol, typeof outputs symbol. Here is an example to demonstrate the same:
const s = Symbol();console.log(typeof s); //Outputs "symbol"
Using the typeof operator is the only way to identify whether a variable holds a symbol.