lukechilds on Nostr: Nice! I think you can drop `const me = this` btw. In JavaScript, arrow functions ...
Nice!
I think you can drop `const me = this` btw.
In JavaScript, arrow functions inherit `this` from the parent scope.
Published at
2022-06-24 03:46:15Event JSON
{
"id": "2d4d32abe7c6f1eb43bc4d1170ad57e4dbbc411a0b825f812b169a5cc777c167",
"pubkey": "bae77874946ec111f94be59aef282de092dc4baf213f8ecb8c9e15cb7ed7304e",
"created_at": 1656042375,
"kind": 1,
"tags": [
[
"e",
"2a8714c3f87399de1b42fa039ea8d029984eb52fe34eaadfa200c55699fc27d1"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
]
],
"content": "Nice!\n\nI think you can drop `const me = this` btw.\n\nIn JavaScript, arrow functions inherit `this` from the parent scope.",
"sig": "be35644854035e4e65135fc338b65965c2200de77c4c6d428a653823386f7a2ca85444659ea2ffebf24bd8a1458762efbdd28422b1b934942f0afeaa9e62b08b"
}