Symbols - Javascript

  • var = Symbol("value") => We get a new and unique symbol, which is different from all other symbols, Parameter is optional & used for debugging
Share: