# Accessing the name of a function stored in an array, possible?

**URL:** <https://forum.kirupa.com/t/accessing-the-name-of-a-function-stored-in-an-array-possible/203026>\
**Category:** Uncategorized\
**Created:** [October 6, 2006, 6:10pm UTC](https://forum.kirupa.com/t/accessing-the-name-of-a-function-stored-in-an-array-possible/203026 "2006-10-06T18:10:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dragonfly](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@dragonfly](https://forum.kirupa.com/u/dragonfly)\
**Post date:** [October 6, 2006, 6:10pm UTC](https://forum.kirupa.com/t/accessing-the-name-of-a-function-stored-in-an-array-possible/203026/1 "2006-10-06T18:10:01Z")

</div>

Hello,

I have a “back button” scheme that includes using an array to store references to functions. However, when i have to troubleshoot something like this, one of the things i’d like to be able to trace is the names of the functions that are in the array. If i trace a for loop through the array i just get [type Function] for each function. I would like to look at it’s name.

Right now, im using a workaround that places objects with a func property and a funcName property, which is a string that needs to be indicated manually.

Is there a way to simply trace the name of my funcitons?
