sapbot's picture
Update dataset.csv
1481971 verified
raw
history blame
717 Bytes
javascript,python,lua
"console.log('Hello World');","print('Hello World')","print('Hello World')"
"var x = 3;","x = 3","local x = 3"
"console.log(y * 3);","print(y * 3)","print(y * 3)"
"console.log('moo');","print('moo')","print('moo')"
"let sum = (a, b) => a + b;","def sum(a, b): return a + b","sum = function(a, b) return a + b"
"const arr = [1, 2, 3];","arr = [1, 2, 3]","arr = {1, 2, 3}"
"if (x > 5) { console.log('Greater'); }","if x > 5: print('Greater')","if x > 5 then print('Greater')"
"for (let i = 0; i < 5; i++) { console.log(i); }","for i in range(5): print(i)","for i = 0, i < 5 do print(i) end"
"function greet() { return 'Hello'; }","def greet(): return 'Hello'","function greet() return 'Hello' end"