---
title: "Discussion on \"Using Set instead of an Array\" | Hashnode"
description: "Discussion on \"Using Set instead of an Array\". Let's say you had an object like this where you wanted to show the version numbers available for each type of application when the user checks an application. So if someone checks wordpress it should show the version numbers available, 6.2, 6.1, 5.9...."
url: "https://hashnode.com/posts/using-set-instead-of-an-array/642e284a8adb28b2911a4d3c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using Set instead of an Array](https://alpinejs.in/using-set-instead-of-an-array?utm_source=hashnode&utm_medium=feed)

Let's say you had an object like this where you wanted to show the version numbers available for each type of application when the user checks an application. So if someone checks wordpress it should show the version numbers available, 6.2, 6.1, 5.9....

Apr 6, 2023 · 2 min read · alpinejs.in  
Read the article

-   [#sets](https://hashnode.com/tag/sets)
-   [#arrays](https://hashnode.com/tag/arrays)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#alpinejs](https://hashnode.com/tag/alpinejs)

## Written by

[Anjanesh Lekshminarayanan](https://hashnode.com/@anjanesh)

@anjanesh · Navi Mumbai, MH

  
[View profile](https://hashnode.com/@anjanesh)

Web UI Engineer

I am a web consultant from Navi Mumbai. Mainly dealt with LAMP stack, now into Django and getting into Laravel and Cloud. Founder of nerul.in and gaali.in

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
