JavaScript to
ruby
Helper
switch to dark mode
JavaScript Method:
Array
Array.concat()
Array.copyWithin()
Array.entries()
Array.every()
Array.fill()
Array.filter()
Array.find()
Array.findIndex()
Array.flat()
Array.flatMap()
Array.forEach()
Array.includes()
Array.indexOf()
Array.isArray()
Array.join()
Array.keys()
Array.lastIndexOf()
Array.length
Array.map()
Array.of()
Array.pop()
Array.push()
Array.reduce()
Array.reduceRight()
Array.reverse()
Array.shift()
Array.slice()
Array.some()
Array.sort()
Array.splice()
Array.toString()
Array.unshift()
Array.values()
Object
Object.keys()
Object.values()
Promise.then()
Promise.catch()
Promise with async/await
Promise.all()
String.charAt()
String.charCodeAt()
String.codePointAt()
String.concat()
String.endsWith()
String.fromCharCode()
String.fromCodePoint()
String.includes()
String.indexOf()
String.lastIndexOf()
String.length
String.localeCompare()
String.padEnd()
String.padStart()
String.repeat()
String.replace()
String.split()
String.startsWith()
String.substring()
String.toLowerCase()
String.toUpperCase()
String.trim()
String.trimEnd()
String.trimStart()
Array
Copy
Copied!
Array
Copy
Copied!