When I use the .times method in Ruby, I get the wrong JavaScript output:
3.times do
puts 'Welcome '
end
should be
for (let i = 1; i <= 3; i++) {
console.log("Welcome ")
or
for (let i = 0; i < 3; i++) {
console.log("Welcome ")
not
(3).times(() => console.log("Welcome "))