---
title: "Discussion on \"Til: 화살표 함수는 익명함수가 아니다\" | Hashnode"
description: "Discussion on \"Til: 화살표 함수는 익명함수가 아니다\". 흔히들 화살표 함수를 익명함수라고하는데, 화살표 함수에도 .name 속성이 있다.\n아래는 바벨 테스트 케이스에서 가져온 코드다.\nvar a,\n  b = true,\n  c;\n\na ||= () => {};\nb &&= () => {};\nc ??= () => {};\n\nexpect(a.name).toBe(\"a\");\nexpect(b.name).toBe(\"b\");\nexpect(c.name).toBe(\"c\");\n\n이를 보면 함수 이름 추론이 화살표 함수에도 ..."
url: "https://hashnode.com/posts/2022-8-23-arrow-is-not-anonymous/6629163deb03f8736a339bee"
---

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

Discussion

# [Til: 화살표 함수는 익명함수가 아니다](https://kdy1.dev/2022-8-23-arrow-is-not-anonymous?utm_source=hashnode&utm_medium=feed)

흔히들 화살표 함수를 익명함수라고하는데, 화살표 함수에도 .name 속성이 있다. 아래는 바벨 테스트 케이스에서 가져온 코드다. var a, b = true, c; a ||= () => {}; b &&= () => {}; c ??= () => {}; expect(a.name).toBe("a"); expect(b.name).toBe("b"); expect(c.name).toBe("c"); 이를 보면 함수 이름 추론이 화살표 함수에도 ...

Aug 23, 2022 · 1 min read · kdy1.dev  
Read the article

## Written by

[DongYun Kang](https://hashnode.com/@kdy1)

@kdy1 · South Korea

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

Creator of SWC

CEO of Delino. I created SWC, an open-source compiler project, and previously worked at Deno and Vercel.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
