The global variable, __name__, in the module that is the entry point to your program, is '__main__'. Biến toàn cục, __name__, trong mô-đun là điểm vào chương trình của bạn, là '__main__'.
So, your code is apparently assuming some weird global variable thing. Vì vậy, mã của bạn dường như giả định một số điều biến toàn cầu kỳ lạ.
A globally scoped variable can be accessed throughout the JavaScript program. Global variables có thể được tiếp cận (access) từ bất kì chỗ nào trong JavaScript program.
Public variables can be accessed from anywhere in a JavaScript program. Global variables có thể được tiếp cận (access) từ bất kì chỗ nào trong JavaScript program.
Global variables can be used anywhere in the program. Global variables (biến toàn cục) có thể được sử dụng ở bất kì đâu trong chương trình,
Global variables are available anywhere in the program Global variables (biến toàn cục) có thể được sử dụng ở bất kì đâu trong chương trình,
A global variable, as its name suggests , can be accessed anywhere. Một biến JavaScript toàn cầu như tên gọi của nó có thể truy cập từ bất kỳ hàm nào.
Global variables can be used anywhere in your program. Global variables (biến toàn cục) có thể được sử dụng ở bất kì đâu trong chương trình,
There is no need for the global variable. Tạo global variable không đòi
There is no need for the global variable. Tạo global variable không đòi