In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces what are the system functions in JavaScript. It is very detailed and has certain reference value. Friends who are interested must finish reading it.
1.encodeURI ("); returns an encoded result of the URI string:
Var urlStr=encodeURI ("http://www.baidu.com?country= China & name=l f")
Alert (urlStr)
2.decodeURI ("); decodes an encoded URI string to the original string and returns:
Var urlStr=decodeURI ("http://www.baidu.com?country=%E4%B8%AD%E5%9B%BD&name=%20 f")
Alert (urlStr)
3.parseInt (numString, [radix]); converts the specified string to an integer. If no second parameter is specified, the string with the prefix "0x" is treated as hexadecimal, the string with the prefix "0" as octal, and everything else as decimal:
4.parseFloat (); converts a string to the corresponding decimal
5.isNaN (); determine whether a variable is a number
6.escape (); returns the result string encoded with a string
7.unescape (); decode the escape-encoded string to its initial value
8.eval (); executes the parameter string as a javascript expression
These are all the contents of the article "what are the system functions in JavaScript?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.