javascript - 急急急!!!jquery 怎么把字符串的1/6变成可以用于计算的数字?

WBOY
Release: 2016-06-06 20:15:00
Original
927 people have browsed it

如题所示!!!!!

回复内容:

如题所示!!!!!

<code class="js">eval("1/6");</code>
Copy after login

希望有所帮助~ :)

<code>var s = "jqueryjqueryjqueryjqueryjqueryjquery.";
    var ss = s.substr(1, 6); // 获取子字符串, 
    console.log(ss);          // 控制台输出 "Spain"。</code>
Copy after login

webkit f12 console 回车试下 看不懂就当我没说
javascript - 急急急!!!jquery 怎么把字符串的1/6变成可以用于计算的数字?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!