From de6a111b5e7ec37c4965111a580217d0b1fd2736 Mon Sep 17 00:00:00 2001 From: Florian Merz Date: Thu, 11 Feb 2021 14:47:40 +0100 Subject: unslug id: move --- .../global_objects/function/prototype/index.html | 144 --------------------- 1 file changed, 144 deletions(-) delete mode 100644 files/id/web/javascript/reference/global_objects/function/prototype/index.html (limited to 'files/id/web/javascript/reference/global_objects/function') diff --git a/files/id/web/javascript/reference/global_objects/function/prototype/index.html b/files/id/web/javascript/reference/global_objects/function/prototype/index.html deleted file mode 100644 index 4bb3ebffbe..0000000000 --- a/files/id/web/javascript/reference/global_objects/function/prototype/index.html +++ /dev/null @@ -1,144 +0,0 @@ ---- -title: Function.prototype -slug: Web/JavaScript/Reference/Global_Objects/Function/prototype -tags: - - Function - - JavaScript - - Property - - Prototype -translation_of: Web/JavaScript/Reference/Global_Objects/Function -translation_of_original: Web/JavaScript/Reference/Global_Objects/Function/prototype ---- -
{{JSRef}}
- -

Properti Function.prototype mewakili objek properti {{jsxref("Function")}} .

- -

Deskripsi

- -

Objek {{jsxref("Function")}} turunan dari Function.prototypeFunction.prototype tidak dapat di ubah.

- -

Properti

- -
-
{{jsxref("Function.arguments")}} {{deprecated_inline}}
-
Sebuah array berdasakan argumen yang diberikan ke sebuah fungsi. Ini telah diabaikan sebagai properti dari {{jsxref("Function")}}, gunakan objek {{jsxref("Functions/arguments", "arguments")}} yang tersedia di dalam fungsi saja.
-
{{jsxref("Function.arity")}} {{obsolete_inline}}
-
Digunakan untuk menentukan jumlah argumen yang diperlukan fungsi, tapi telah dihapus. Gunakan properti {{jsxref("Function.length", "length")}}.
-
{{jsxref("Function.caller")}} {{non-standard_inline}}
-
Menentukan fungsi yang dipanggil oleh fungsi yang sedang dijalankan saat ini.
-
{{jsxref("Function.length")}}
-
Menentukan jumlah argumen yang diperlukan oleh fungsi.
-
{{jsxref("Function.name")}}
-
Nama dari fungsi.
-
{{jsxref("Function.displayName")}} {{non-standard_inline}}
-
Tampilan nama fungsi.
-
Function.prototype.constructor
-
Menentukan fungsi yang membuat objek prototype. Lihat {{jsxref("Object.prototype.constructor")}} untuk lebih detailnya.
-
- -

Method

- -
-
{{jsxref("Function.prototype.apply()")}}
-
Memanggil fungsi dan menentukan nilai this berdasar nilai yang diberikan, argument bisa ditambahkan sebagai objek {{jsxref("Array")}}.
-
{{jsxref("Function.prototype.bind()")}}
-
Membuat fungsi baru dimana, ketika dipanggil, memiliki this yang diberi nilai yang tersedia, dengan urutan tertentu sesudah nilai yang tersedia ketika fungsi di jalankan.
-
{{jsxref("Function.prototype.call()")}}
-
Memanggil (menjalankan) sebuah fungsi dan memberi nilai this dari nilai yang tersedia, argumen bisa ditambahkan sebagaimana mestinya.
-
{{jsxref("Function.prototype.isGenerator()")}} {{non-standard_inline}}
-
Mengembalikan true jika fungsi adalah sebuah generator; selain itu akan mengembalikan  nilai false.
-
{{jsxref("Function.prototype.toSource()")}} {{non-standard_inline}}
-
Mengembalikan string berdasarkan kode sumber dari fungsi. Mengesampingkan method {{jsxref("Object.prototype.toSource")}}.
-
{{jsxref("Function.prototype.toString()")}}
-
Mengembalikan string berdasarkan kode sumber dari fungsi, mengesampingkan method {{jsxref("Object.prototype.toString")}}.
-
- -

Spesifikasi

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SpesifikasiStatusComment
{{SpecName('ES1')}}{{Spec2('ES1')}}Initial definition. Implemented in JavaScript 1.1
{{SpecName('ES5.1', '#sec-15.3.5.2', 'Function.prototype')}}{{Spec2('ES5.1')}} 
{{SpecName('ES6', '#sec-function-instances-prototype', 'Function.prototype')}}{{Spec2('ES6')}} 
{{SpecName('ESDraft', '#sec-function-instances-prototype', 'Function.prototype')}}{{Spec2('ESDraft')}} 
- -

Kompabilitas Browser

- -
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -

Lihat Juga

- - -- cgit v1.2.3-54-g00ecf