---
title: "Abdullah Ahadi (@Ahadi) | Hashnode"
description: "Software Developer. Read the latest articles by Abdullah Ahadi on Hashnode."
url: "https://hashnode.com/@Ahadi"
---

@Ahadi

# Abdullah Ahadi

@Ahadi · Afghanistan · Joined May 2021

Software Developer

### [JavaScript promises](https://abdullah-ahadi.hashnode.dev/javascript-promises-1?utm_source=hashnode&utm_medium=feed)

What is a JavaScript Promise? JavaScript promises are what their name says. You use them to make a promise to do something, usually asynchronously. When the task completes, you either fulfill 😎 your promise or fail 😣 to do so. A Promise is a constr...

3 min read · [abdullah-ahadi.hashnode.dev](https://abdullah-ahadi.hashnode.dev/javascript-promises-1?utm_source=hashnode&utm_medium=feed)

[Oct 9, 2021](https://hashnode.com/posts/javascript-promises-1/6161daa18e8734462af600d4)

### [How to find the last character of a string in JavaScript?](https://abdullah-ahadi.hashnode.dev/how-to-find-the-last-character-of-a-string-in-javascript?utm_source=hashnode&utm_medium=feed)

In order to get the last letter of a string in JavaScript, you can subtract one from the string's length. var firstName = "julia"; var lastLetter = firstname\[firstName.length - 1\]; // output: a

1 min read · [abdullah-ahadi.hashnode.dev](https://abdullah-ahadi.hashnode.dev/how-to-find-the-last-character-of-a-string-in-javascript?utm_source=hashnode&utm_medium=feed)

[Sep 23, 2021](https://hashnode.com/posts/how-to-find-the-last-character-of-a-string-in-javascript/614caa46544e242e0c93f2f4)
