js两个任意个位数之间的奇数组合
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script>
function fn(a,b){
for ( var i=a ;i<=b ;i++ ){
for(var j=a;j<=b;j++){
var str=''+i+j;
if(str % 2 !==0){
console.log(str-0);
}
}
}
}
fn(0,3)
</script>
</body>
</html>