Home >Web Front-end >JS Tutorial >js-exhaustive method (y0h)_javascript skills

js-exhaustive method (y0h)_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:26:341473browse

[Ctrl A select all Note: If you need to introduce external Js, you need to refresh to execute
]<script> function FStr(oStr,Num){ for(var i=0 ;i<Math.pow(oStr.length,Num);i++){ var x=i document.write(i+":") for(var j=0;j<Num;j++){ document.write(oStr.substr((x%oStr.length),1)) x=parseInt(x/oStr.length) } document.write(" ") } } FStr("abcdefs",3) </script>
Statement:
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