sapbot commited on
Commit
1481971
·
verified ·
1 Parent(s): c947ba3

Update dataset.csv

Browse files
Files changed (1) hide show
  1. dataset.csv +9 -9
dataset.csv CHANGED
@@ -1,10 +1,10 @@
1
  javascript,python,lua
2
- console.log("Hello World");,print("Hello World"),print("Hello World")
3
- var x = 3;,x = 3,local x = 3
4
- console.log(y * 3);,print(y * 3),print(y * 3)
5
- console.log("moo");,print("moo"),print('moo')
6
- let sum = (a, b) => a + b;,def sum(a, b): return a + b,sum = function(a, b) return a + b
7
- 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
8
- const arr = [1, 2, 3];,arr = [1, 2, 3],arr = {1, 2, 3}
9
- if (x > 5) { console.log("Greater"); } else { console.log("Smaller"); },if x > 5: print("Greater") else: print("Smaller"),if x > 5 then print("Greater") else print("Smaller") end
10
- function greet(name) { return "Hello " + name; },def greet(name): return "Hello " + name,greet = function(name) return "Hello " .. name end
 
1
  javascript,python,lua
2
+ "console.log('Hello World');","print('Hello World')","print('Hello World')"
3
+ "var x = 3;","x = 3","local x = 3"
4
+ "console.log(y * 3);","print(y * 3)","print(y * 3)"
5
+ "console.log('moo');","print('moo')","print('moo')"
6
+ "let sum = (a, b) => a + b;","def sum(a, b): return a + b","sum = function(a, b) return a + b"
7
+ "const arr = [1, 2, 3];","arr = [1, 2, 3]","arr = {1, 2, 3}"
8
+ "if (x > 5) { console.log('Greater'); }","if x > 5: print('Greater')","if x > 5 then print('Greater')"
9
+ "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"
10
+ "function greet() { return 'Hello'; }","def greet(): return 'Hello'","function greet() return 'Hello' end"