21 lines
309 B
Luau
21 lines
309 B
Luau
const X = 1000
|
|
const Y = 10
|
|
|
|
const Res = X + Y
|
|
|
|
const Str = `is {Res} == 1010?`
|
|
|
|
class Foo
|
|
public Bar: string
|
|
|
|
function new(Bar: string)
|
|
return Test {Foo = Bar}
|
|
end
|
|
|
|
end
|
|
|
|
print(Str)
|
|
print(if Res == 1010 then "Yes it is!" else "No it isn't.")
|
|
|
|
print(Foo, Foo.new("Classes work!").Bar)
|