What is the translation of " GIÁ TRỊ CỦA THIS " in English?

value of this
giá trị của this
giá trị của điều này
giá trị của sự

Examples of using Giá trị của this in Vietnamese and their translations into English

{-}
  • Colloquial category close
  • Ecclesiastic category close
  • Computer category close
Trực tiếp set giá trị của this.
Explicitly set the value of this.
Giá trị của this bên trong hàm callback.
Value of this inside callback.
Bạn không thể thay đổi giá trị của this.
You can not change the value of this.
Giá trị của this. state phải là một object.
The value of this. state must be an object.
Bạn không thể thay đổi giá trị của this.
You cannot change the value in this field.
Giá trị của this phụ thuộc vào vị trí mà nó được gọi.
The value of this depends on where it is being invoked.
Vậy chuyện gì đã làm thay đổi giá trị của this.
So what exactly has changed to merit this.
Giá trị của this phụ thuộc vào cách hàm được gọi.
The value of this is dependent on how the function is called.
Nếu có' use strict' thì giá trị của' this' sẽ là undefined.
If“use strict” option is turned on, then the value of“this” will be undefined.
Giá trị của this được xác định dựa trên cách mà function này được gọi.
The value of this is determined by how exactly the function is called.
Vậy làm sao để sử dụng đúng giá trị của this bên trong hàm callback?
But how do we go about applying the value of this within the callback?
Giá trị của this, khi được sử dụng trong một hàm, là đối tượng“ sở hữu” hàm.
The value of this, when used in a function, is the object that"owns" the function.
Bên trong một hàm, giá trị của this phụ thuộc vào cách gọi hàm.
Inside a function, the value of this depends on how the function is called.
Giá trị của this xác định dựa trên cách mà function được gọi, chứ không phải dựa vào vị trí mà nó được định nghĩa.
The value of this inside a function depends on how the function is called, not where it's defined.
Trong hầu hết các trường hợp, giá trị của this được xác định bởi cách gọi hàm( runtime binding).
In most cases, the value of this is determined by how a function is called(runtime binding).
Khi bạn bắt đầu sử dụng các thư viện JavaScript( vídụ: jQuery), bạn có thể thấy rằng một số hàm thư viện nhất định thao tác giá trị của this.
When you begin using JavaScript libraries(e.g. jQuery),you may find that certain library functions manipulate the value of this.
Và kết quả là, giá trị của this là window, không phải là object instance của MyObject!
As a result, its value of this is window, not the obj instance of MyObject!
Ở đây có một vài điềuta có thể làm nếu muốn truy cập giá trị của this phù hợp mà không bị ảnh hưởng bới new scope.
There are several things wecan do if we want to access the proper this value which isn't affected by the new scope.
Giá trị của this sẽ vượt xa sự tưởng tượng của chúng ta và được gángiá trị khác, nếu chúng ta gán phương thức sử dụng this cho một biến.
The this value escapes our imagination and is bound to another object, if we assign a method that uses this to a variable.
Do đó, khi một hàm được gọi trong ngữ cảnh của hàm tạo, giá trị của this là đối tượng mới mà trình thông dịch đã tạo.
Thus, when a function is called in a constructor context, the value of this is the new object that the interpreter created.
Do đó, nếu ta cần tạo một tham chiếu đến một method của một object, ta cần chắc rằng điều đó được thựchiện trong object namspace để giữ được giá trị của this.
Thus, if we really need to create a reference to an existing method of an object, we need to be sure to doit within that object's namespace, to preserve the value of this.
Nếu bạn đang tự hỏi làm thế nào một thư viện JavaScript thao túng giá trị của this, thư viện chỉ đơn giản là sử dụng một trong các hàm JavaScript tích hợp chấp nhận thisArg.
If you are wondering how a JavaScript library manipulates the value of this, the library is simply using oneof the built-in JavaScript functions accepting a thisArg.
Để ứng phó với vấn đề sử dụng this bên trong hàm vô danh được truyền cho phương thức forEach, chúng tasử dụng một kỹ thuật rất phổ biến trong JavaScript, đó là gán giá trị của this cho một biến khác trước khi chúng ta vào hàm forEach.
To fix the problem with using this inside the anonymous function passed to the forEach method,we use a common practice in JavaScript and set the this value to another variable before we enter the forEach.
Vì đoạn mã sau không ở chế độ strict mode, và vì giá trị của this không được thiết lập khi gọi,this mặc định là global objecct, đó là window trong trình duyệt.
Since the following code is not in strict mode, and because the value of this is not set by the call,this will default to the global object, which is window in a browser.
ES5 giới thiệu phương thức bind() để thiết lập giá trị của this bất kể hàm được gọi thế nào, và ES2015 giới thiệu arrow functions mà không cung cấp ràng buộc với this của chúng( Nó sẽ giữ giá trị this của lexical context kèm theo).
ES5 introduced the bind() method to set the value of a function's this regardless of how it's called, and ES2015 introduced arrow functions which don't provide their own this binding(it retains the this value of the enclosing lexical context).
Thisgiá trị của đối tượng này trong hầu hết các hoàn cảnh.
This has the value of the invoking object in most circumstances.
Toán tử mớisẽ truyền object mới cho hàm dựng Engineer như là giá trị của từ khóa this..
The new operatorpasses the new object to the Engineer constructor as the value of the this keyword.
Prototype và truyền đối tượng mới tạo như là giá trị của từ khóa this cho hàm dựng WorkerBee.
Prototype and passes this new object as the value of the this keyword to the WorkerBee constructor function.
Trong arrow functions, this giữ giá trị? this của lexical context kèm theo.
In arrow functions, this retains the value of the enclosing lexical context's this.
Trong arrow functions, this giữ giá trị? this của lexical context kèm theo.
In arrow functions, this retains the value of the contextual this.
Results: 91, Time: 0.0209

Word-for-word translation

Top dictionary queries

Vietnamese - English