PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Sets

Sets

Sets are a feature.

An abstract data type that can store unique values, without any particular order.


Languages without Sets include Bash

Languages with Sets include JavaScript, EDN

Example from JavaScript:
set = new Set() set.add("foo")
runtime-guards-feature.html 路 sets-feature.html 路 streams-feature.html

View source

PLDB - Build the next great programming language 路 v2022 Day 29 Docs Build Acknowledgements Traffic Today Traffic Trends Mirrors GitHub feedback@pldb.com