--- title: Boolean.prototype.toSource() slug: Web/JavaScript/Reference/Global_Objects/Boolean/toSource translation_of: Web/JavaScript/Reference/Global_Objects/Boolean/toSource ---
{{JSRef}} {{non-standard_header}}

ToSource () metodu, nesnenin kaynak kodunu temsil eden bir dize döndürür.

Sözdizimi

booleanObj.toSource()
Boolean.toSource()

Return değeri

Nesnenin kaynak kodunu temsil eden bir dize.

Açıklama

toSource metodu aşağıdaki değerleri döndürür:

This method is usually called internally by JavaScript and not explicitly in code.

Özellikler

Herhangi bir standardın parçası değil. JavaScript 1.3'te uygulandı. 1.3.

Tarayıcı Uyumluluğu

{{Compat("javascript.builtins.Boolean.toSource")}}

Ayrıca Bakınız