---
title: "Discussion on \"Calling an async function without await\" | Hashnode"
description: "Discussion on \"Calling an async function without await\". const asyncFunction = async () => \"HELLO\";\n\nconst main = async () => {\n  const value = asyncFunction();\n\n  console.log(value === \"HELLO\" ? \"true\" : \"false\");\n};\n\nmain();\n\nOutput: false\nasyncFunction() returns a promise not the resolved value."
url: "https://hashnode.com/posts/calling-an-async-function-without-await/60c8b2aabbd8c506819af95d"
---

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

Discussion

# [Calling an async function without await](https://codedrops.hashnode.dev/calling-an-async-function-without-await?utm_source=hashnode&utm_medium=feed)

const asyncFunction = async () => "HELLO"; const main = async () => { const value = asyncFunction(); console.log(value === "HELLO" ? "true" : "false"); }; main(); Output: false asyncFunction() returns a promise not the resolved value.

Jun 15, 2021 · 1 min read · codedrops.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Mehul Lakhanpal](https://hashnode.com/@ml318097)

@ml318097 · Bangalore, India

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

Full-stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
