Symbol

A primitive whose values are always unique and can be used as object property keys.

What is Symbol in JavaScript?

Symbol — A primitive whose values are always unique and can be used as object property keys.

const orderId = Symbol("orderId");

Level: Freelancer · More JavaScript terms at this level

Updated