What is the translation of " GLOBAL OBJECT " in Vietnamese?

['gləʊbl 'ɒbdʒikt]
['gləʊbl 'ɒbdʒikt]
global object
đối tượng toàn
global object
đối tượng global

Examples of using Global object in English and their translations into Vietnamese

{-}
  • Colloquial category close
  • Ecclesiastic category close
  • Computer category close
What is the global object?
Global Object là gì?
When calling a function this is referring to the global object.
Khi được sử dụng một mình, this refer đến đối tượng Global.
In browsers, the global object is window.
Đối với browser thì đối tượng global đó chính là window.
Maybe you passed a callback to a global object.
Bạn gõ lại window để lấy global object.
Undefined is a property of the global object; i.e., it is a variable in global scope.
Infinity là một thuộc tính của global object, hay nói các khác, là một biến trong global scope.
This property is set on the global object.
Thuộc tính này được thiết lập trên global object.
In web pages, the global object is window, so you can set and access global variables using the window. variable syntax.
Trong các web page, global object chính là window, nên bạn có thể set và truy cập đến các global variables bằng cách sử dụng cú pháp window. variable.
Otherwise, to the global object.
Nếu không, với đối tượng toàn cầu.
In the first above example, after the function call returns,the 2 objects are not referenced anymore by something reachable from the global object.
Trong ví dụ ở trên, sau khi lời gọi hàm kết thúc, hai đốitượng không được tham chiếu nữa bởi một cái gì đó có thể truy cập từ đối tượng toàn cục.
In JavaScript, there's always a global object defined.
Nhưng trong JavaScript luôn có một đối tượng toàn cục mặc định.
In the first example above, after the function call returns, the two objects are nolonger referenced by any resource that is reachable from the global object.
Trong ví dụ ở trên, sau khi lời gọi hàm kết thúc, hai đối tượng không được tham chiếu nữa bởi mộtcái gì đó có thể truy cập từ đối tượng toàn cục.
The functionality of namespaces is specially useful in casethat there is a possibility that a global object or function can have the same name than another one, causing a.
Namespace đặc biệt hữu dụng trong trườnghợp có thể có một đối tượng toàn cục hoặc một hàm có cùng tên với một cái khác, gây ra lỗi định nghĩa lại.
With an assignment, without the var statement, if the referenced identifier is not found in the scope chain,it will become a deleteable property of the global object.
Với nhiệm vụ, không có var tuyên bố, nếu số nhận dạng được tham chiếu không được tìm thấy trong chuỗi phạm vi, nó sẽ trở thànhcó thể xóa tài sản của đối tượng toàn cục.
I assume that the reader is already familiar with JavaScript,knows what is a Global Object, knows that functions in JavaScript are“first-class objects”, etc.
Tôi xem như rằng độc giả của bài viết này đã quen với JavaScript,biết Global Object là cái gì, biết rằng hàm trong JavaScript là“ first- class objects”, vân vân và vân vân….
There are a number ofsituations that could cause this to be bound to the global object.
Có một số tình huốngcó thể gây ra this bị ràng buộc với đối tượng toàn cục.
The global object itself can be accessed using the this operator in the global scope(but only if ECMAScript 5 strict mode is not used; in that case it returns undefined).
Bản thân đối tượng toàn cục cũng có thể được truy cập bằng toán tử: this trong toàn cục( nhưng chỉ khi ECMAScript 5 không được sử dụng; trong trường hợp đó, nó trả về: undefined).
If we access bar, we get value 2 from Global object.
Nếu ta truy cập bar, ta thu được 2 từ Global object.
One of the properties that we're interested in is an internal property[[scope]]; it refers to the current scope object, that is, the scope object that was active when the function is defined(again,in this case, Global object).
Một property mà ta quan tâm là internal property[[ scope]], tham chiếu tới scope object hiện tại, hay nói cách khác chính là scope object đang active khi hàm được định nghĩa( trong trường hợp này,Global Object).
When the function myFunc is defined,myFunc identifier is added to the current scope object(in this case, Global object), and this identifier refers to the function object..
Khi hàm myFunc được định nghĩa, địnhdanh myFunc được thêm vào scope object hiện thời( trong ví dụ này là Global Object), và định danh này tham chiếu tới function object..
So, when you define some variables in top-level code,they are defined on Global Object.
Vì vậy, nếu bạn định nghĩa biến ở code top- level,thì chúng được định nghĩa ở Global Object.
For example, if you forget to provide the new prefix when calling a constructor function,the constructor's this will be bound unexpectedly to the global object, so instead of initializing a new object, it will instead be silently tampering with global variables.
Ví dụ: nếu bạn quên cung cấp new tiền tố khi gọi hàm dựng hàm, người xây dựng thissẽ bị ràng buộc bất ngờ với đối tượng toàn cục, vì vậy thay vì khởi tạo một đối tượng mới, thay vào đó nó sẽ âm thầm giả mạo với các biến toàn cục.
The last element in the scope chain is always the Global Object.
Phần tử cuối cùng trong scope chain luôn luôn là Global Object.
In strict mode, when used alone,this also refers to the Global object[object Window].
Khi được sử dụng trong một hàm,this refers đến Global object( tức là đối tượng window).
Global variables are in fact properties of the global object.
Các global variables trên thực tế là những properties của global object.
So by default this refers to the global object.
Khi được sử dụng một mình, this refer đến đối tượng Global.
The window object is also the global object.
Variable object cũng chính là global object.
As I mentioned above, for top-level code,scope object is a Global Object.
Như đã nói bên trên, đối với code top- level,scope object chính là Global Object.
In top-level JavaScript code,scope chain contains just a single element: the Global Object.
Ở code JavaScript top- levelthì scope chain chỉ bao gồm một phần tử duy nhất: Global Object.
Speaking about the global context, both, the var statement anda FunctionDeclaration at the end will create a non-deleteable property on the global object, but the value of both can be overwritten.
Nói về bối cảnh toàn cầu, cả hai, var tuyên bố vàmột FunctionDeclaration ở cuối sẽ tạo ra không thể xóa thuộc tính trên đối tượng toàn cục, nhưng giá trị của cả hai có thể được ghi đè.
Results: 29, Time: 0.0282

Word-for-word translation

Top dictionary queries

English - Vietnamese