Web appOpen in Telegram

Threadlet a=1

3 messages · –
L
let a=1 function name() { return a } 这里没有闭包吗?
  1. P
    a 在 global scope 的話不算 在 module scope, 你把 name fn export 出去的話,應該算 closure over module
JJavaScript/Node.js 台灣JavaScript/Node.js 台灣@JavaScriptTw · group · Tech
1 999members4writing in 30 days
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count