Two technical fields, same Chinese term. In math (topology, algebra)
闭包 is the closure operation — the smallest closed set containing your set. In programming, it's a function plus the lexical environment it captured. Context disambiguates instantly; outside math/CS the word is rare.