Timeline for Dynamic function name in JavaScript
Current License: CC BY-SA 4.0
33 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 23, 2024 at 0:21 | answer | added | Gima | timeline score: 1 | |
| Apr 16, 2023 at 15:16 | history | edited | Peter Mortensen | CC BY-SA 4.0 |
Active reading [<https://en.wikipedia.org/wiki/JavaScript>].
|
| Apr 14, 2022 at 18:24 | answer | added | Jason | timeline score: 0 | |
| Oct 6, 2021 at 12:25 | answer | added | CherryDT | timeline score: 5 | |
| Jan 8, 2020 at 8:12 | answer | added | аlex | timeline score: 2 | |
| Jan 3, 2020 at 7:02 | answer | added | Manuja Jayawardana | timeline score: 1 | |
| Sep 11, 2019 at 20:03 | comment | added | Andrew |
To clarify what Raynos was saying, you can do this["instance" + a] = function() { }. That wasn't clear to me.
|
|
| Jul 31, 2019 at 21:36 | history | protected | Community Bot | ||
| Jul 1, 2019 at 22:57 | answer | added | Rodrigo M. | timeline score: 0 | |
| Jan 24, 2019 at 14:18 | answer | added | blablabla | timeline score: 1 | |
| May 20, 2018 at 2:50 | answer | added | Scott Rudiger | timeline score: 1 | |
| Feb 21, 2018 at 5:57 | answer | added | Albin | timeline score: 22 | |
| Jan 27, 2018 at 0:40 | answer | added | cestmoi | timeline score: -2 | |
| Nov 17, 2017 at 12:46 | answer | added | Paweł | timeline score: 3 | |
| Oct 20, 2017 at 10:37 | answer | added | Константин Ван | timeline score: 1 | |
| Jul 11, 2017 at 20:17 | answer | added | MetalGodwin | timeline score: 0 | |
| Apr 4, 2017 at 5:35 | answer | added | berge | timeline score: -3 | |
| Jan 29, 2017 at 8:39 | answer | added | Luke Schoen | timeline score: 2 | |
| Jan 25, 2017 at 14:27 | answer | added | kybernetikos | timeline score: 63 | |
| Dec 1, 2016 at 19:20 | answer | added | Darren | timeline score: 74 | |
| Jul 6, 2016 at 15:05 | answer | added | Maxmaxmaximus | timeline score: -11 | |
| May 15, 2016 at 0:54 | answer | added | Onur Yıldırım | timeline score: 4 | |
| Oct 5, 2015 at 18:18 | answer | added | Danilo Colasso | timeline score: -1 | |
| Apr 4, 2015 at 21:26 | comment | added | Bergi | see also Is there any non-eval way to create a function with a runtime-determined name? | |
| Feb 23, 2015 at 1:53 | answer | added | B T | timeline score: 0 | |
| Mar 30, 2012 at 17:39 | answer | added | Marcosc | timeline score: 151 | |
| May 24, 2011 at 1:15 | answer | added | Ekim | timeline score: 3 | |
| May 6, 2011 at 0:59 | answer | added | entonio | timeline score: 3 | |
| May 6, 2011 at 0:27 | vote | accept | Totty.js | ||
| May 6, 2011 at 0:15 | history | edited | user142162 | CC BY-SA 3.0 |
added 16 characters in body
|
| May 6, 2011 at 0:14 | comment | added | Raynos |
You can't. But you can have this["instance"] = function() { }
|
|
| May 6, 2011 at 0:13 | answer | added | Mo Valipour | timeline score: 12 | |
| May 6, 2011 at 0:11 | history | asked | Totty.js | CC BY-SA 3.0 |