ADVERTISEMENT
ADVERTISEMENT

JavaScript Built-in Functions

JavaScript has various built-in properties & functions that can be used with all objects. This section contains JavaScript commonly used built-in properties & functions.

List of JavaScript Built-in Properties & Functions

Property/Function Description
cursor It changes the style of the cursor pointer displayed on the screen.
Infinity It returns a numeric value representing positive/negative infinity.
undefined It checks whether a variable is assigned a value or not.
NaN It represents Not-A-Number.
location.protocol It returns the protocol of the current URL.
escape() It returns the encoded string.
unescape() It returns the decoded string encoded by the escape() function.
encodeURI() and decodeURI() Encodes and decodes URI.
encodeURIComponent() and decodeURIComponent() Encode and decodes URI components.
parseInt() It parses a string and returns an integer value.
isNaN() It checks whether a value is NaN or not.
Number() It converts an object's value to a number.
String() It converts an object's value to a string.
eval() It evaluates/executes an expression.
ADVERTISEMENT



ADVERTISEMENT



Comments and Discussions


ADVERTISEMENT

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT

Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates

© https://www.includehelp.com some rights reserved.