well, normaly to print a text on javascript you just write
document.write("hello world!")
but on tic-80 its
print("hello world!")
i don't know, its like lua and js just fused together.
TIC has own API https://github.com/nesbox/tic.computer/wiki#functions