JSFiddle - React, Tailwind, and code Playground

by STHayden

JavaScript

var getSmallestString = function(n, k) {
    for (let index = n; index < n; index--) {
        
        console.log(index);
    }
};

getSmallestString(3, 27)