Boolean Object
Boolean obyek digunakan untuk mengkonversi nilai non-Boolean untuk nilai Boolean (true atau false).
Boolean Object Properties
Property |
Description |
constructor |
Returns the function that created the Boolean object's prototype |
prototype |
Allows you to add properties and methods to a Boolean object |
Boolean Object Methods
Method |
Description |
toString() |
Converts a Boolean value to a string, and returns the result |
valueOf() |
Returns the primitive value of a Boolean object |
Related Posts : Pemrograman
No comments:
Post a Comment