---
title: "#temporary-variable articles | Hashnode"
description: "Explore 2 articles tagged #temporary-variable on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/temporary-variable"
---

Tag

# #temporary-variable

2 posts · 0 followers

[Dimitris](https://hashnode.com/@Dimitrios) · [Aug 7, 2022](https://hashnode.com/posts/how-to-swap-variables/62efa6c0e3a3793580e02cee)

### [How to Swap Variables](https://dimitrios.hashnode.dev/how-to-swap-variables?utm_source=hashnode&utm_medium=feed)

In this article we will present 3 ways to swap values in two variables, using JavaScript. The first two can be applied in any programming language, the third is JavaScript specific. The task: We have two variables a, b holding a value each. We want ...

3 min read · [dimitrios.hashnode.dev](https://dimitrios.hashnode.dev/how-to-swap-variables?utm_source=hashnode&utm_medium=feed)

[Dimitris](https://hashnode.com/@Dimitrios) · [Aug 7, 2022](https://hashnode.com/posts/how-to-find-the-maximum-of-an-array-of-numbers/62efbe59ba649046e8d8fdcd)

### [How to find the Maximum of an array of numbers?](https://dimitrios.hashnode.dev/how-to-find-the-maximum-of-an-array-of-numbers?utm_source=hashnode&utm_medium=feed)

If an array of numbers is given how we can find its maximum element? We will answer this question in this article, firstly by examine a simple example and then by creating a function that accepts an array of numbers as input and outputs the maximum ...

2 min read · [dimitrios.hashnode.dev](https://dimitrios.hashnode.dev/how-to-find-the-maximum-of-an-array-of-numbers?utm_source=hashnode&utm_medium=feed)
