Questions Concepts
GitHub icon


hasSymbols - language feature

< >
Example from JavaScript, TypeScript:
// A symbol is a unique and immutable primitive value, often used as a unique key for object properties pldb = Symbol()
Example from Ion:
myvar2 // A different symbol 'hi ho' // Symbol requiring quotes
Example from Bel:

Languages with hasSymbols include JavaScript, TypeScript, Ion, Bel

This question asks: Does the language have a concept of symbols?

HTML of this page generated by Features.ts

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Traffic Traffic Today Day 305 Logout