bip44 on Nostr: let vs var var has large scope var function-scoped ES6 ES2015 let, const block-scoped
let vs var
var has large scope
var function-scoped
ES6 ES2015 let, const block-scoped
Published at
2023-03-07 03:13:31Event JSON
{
"id": "3a234b292cb29fb104d8559beec13f7dd6683d16244451e5f323b119e698dff1",
"pubkey": "4dcfdd83d87d31edeaadd14394b7e9e7acb2af539a7cda98aae9bac577b5e4c0",
"created_at": 1678158811,
"kind": 1,
"tags": [
[
"e",
"d684653527e55c7e1afa61cc74c13de21561b789806ff8c9d5729b3d84958a12",
"",
"root"
],
[
"p",
"4dcfdd83d87d31edeaadd14394b7e9e7acb2af539a7cda98aae9bac577b5e4c0"
]
],
"content": "let vs var\nvar has large scope\nvar function-scoped\nES6 ES2015 let, const block-scoped",
"sig": "9560a18fe7957d2271cea13262377add3b844181a8aadf6a5b420a4e26d9dbaf5dedab7720986791abc410ad11a3bfab73da892ec8b77d3b5d6f37fc8958a77f"
}