aboutsummaryrefslogtreecommitdiff
path: root/files/vi/web/javascript/reference/global_objects/function/tosource
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-04-29 16:16:42 -0700
committerGitHub <noreply@github.com>2021-04-29 16:16:42 -0700
commit95aca4b4d8fa62815d4bd412fff1a364f842814a (patch)
tree5e57661720fe9058d5c7db637e764800b50f9060 /files/vi/web/javascript/reference/global_objects/function/tosource
parentee3b1c87e3c8e72ca130943eed260ad642246581 (diff)
downloadtranslated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.gz
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.bz2
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.zip
remove retired locales (#699)
Diffstat (limited to 'files/vi/web/javascript/reference/global_objects/function/tosource')
-rw-r--r--files/vi/web/javascript/reference/global_objects/function/tosource/index.html65
1 files changed, 0 insertions, 65 deletions
diff --git a/files/vi/web/javascript/reference/global_objects/function/tosource/index.html b/files/vi/web/javascript/reference/global_objects/function/tosource/index.html
deleted file mode 100644
index 32a43d0da2..0000000000
--- a/files/vi/web/javascript/reference/global_objects/function/tosource/index.html
+++ /dev/null
@@ -1,65 +0,0 @@
----
-title: Function.prototype.toSource()
-slug: Web/JavaScript/Reference/Global_Objects/Function/toSource
-translation_of: Web/JavaScript/Reference/Global_Objects/Function/toSource
----
-<div>{{JSRef}} {{non-standard_header}}</div>
-
-<p>Phương pháp <code><strong>toSource()</strong></code> trả về một chuỗi đại diện cho mã nguồn của đối tượng.</p>
-
-<h2 id="Cú_pháp">Cú pháp</h2>
-
-<pre class="syntaxbox"><var>function</var>.toSource();
-</pre>
-
-<h3 id="Giá_trị_trả_về">Giá trị trả về</h3>
-
-<p>Một chuỗi đại diện cho mã nguồn của đối tượng.</p>
-
-<h2 id="Mô_tả">Mô tả</h2>
-
-<p>Phương pháp <code>toSource</code> trả về các giá trị theo</p>
-
-<ul>
- <li>Đối với đối tượng tích hợp {{jsxref("Function")}}, <code><strong>toSource()</strong></code> trả về chuỗi mã nguồn không khả dụng:
-
- <pre class="brush: js">function Function() {
- [native code]
-}
-</pre>
- </li>
- <li>Đối với các hàm tùy chỉnh, <code>toSource()</code> trả về nguồn Javascript định nghĩa đối tượng dưới dạng chuỗi.
- <pre class="brush: js">// For example:
-function hello() {
- console.log("Hello, World!");
-}
-
-hello.toSource();
-</pre>
-
- <pre class="brush: js">// Results in:
-"function hello() {
- console.log(\"Hello, World!\");
-}"</pre>
- </li>
-</ul>
-
-<p>Phương pháp này thường được gọi cục bộ trong Javascript và không rõ ràng bằng mã. Bạn có thể gọi <strong><code>toSource()</code></strong> trong khi gỡ lỗi để kiểm tra nội dung của một đối tượng.</p>
-
-<h2 id="Đặc_điểm_chi_tiết">Đặc điểm chi tiết</h2>
-
-<p>Không phải là một đặc tính chuẩn nào. Ghi rõ trong JavaScript 1.3.</p>
-
-<h2 id="Trình_duyệt_tương_thích">Trình duyệt tương thích</h2>
-
-<div>
-
-
-<p>{{Compat("javascript.builtins.Function.toSource")}}</p>
-</div>
-
-<h2 id="Liên_quan">Liên quan</h2>
-
-<ul>
- <li>{{jsxref("Object.prototype.toSource()")}}</li>
-</ul>