We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f817934 commit 1f18bf6Copy full SHA for 1f18bf6
jive/func.js
@@ -1,5 +1,5 @@
1
-function r(start, end) {
2
- return Array.from({ length: end - start }, (_, i) => start + i)
+function r(n, k) {
+ return Array.from({length:k-n}, (_,i)=>n+i)
3
}
4
function fact(n){
5
//alert. Will be worked on soon
0 commit comments