Code
Diff
  • function returnhundred(k = 0) {
      let random = function(max){return Math.floor(Math.random() * Math.floor(max))}
      
      let base = Math.pow('\n'.charCodeAt(), Math.pow(null, null) + '\n'.length);
      
      if (k == base) return k;
      return k > base ? returnhundred(k - random(base)) : returnhundred(k + random(base));
    }
    • function returnhundred() {
    • return Number('Ā'.charCodeAt(0).toString(16));
    • function returnhundred(k = 0) {
    • let random = function(max){return Math.floor(Math.random() * Math.floor(max))}
    • let base = Math.pow('\n'.charCodeAt(), Math.pow(null, null) + '\n'.length);
    • if (k == base) return k;
    • return k > base ? returnhundred(k - random(base)) : returnhundred(k + random(base));
    • }
Code
Diff
  • function returnhundred() {
      const kissing_emoji = ':*';
      return kissing_emoji.split('').map(x=>x.charCodeAt()).reduce((a,b)=>a+b);
    }
    • function returnhundred() {
    • return 10 ** 2;
    • const kissing_emoji = ':*';
    • return kissing_emoji.split('').map(x=>x.charCodeAt()).reduce((a,b)=>a+b);
    • }

Should work ¯\_(ツ)_/¯

Code
Diff
  • function getGemsOfColor(color, gems) {
      let temp_gems = [];
      
      gems.filter(gem => gem.colors.includes(color)).forEach(gem => temp_gems.push(gem.name));
      
      return temp_gems;
    }
    • function getGemsOfColor(color, gems) {
    • let temp_gems = [];
    • gems.filter(gem => gem.colors.includes(color)).forEach(gem => temp_gems.push(gem.name));
    • return temp_gems;
    • }