1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 01:55:07 +00:00

LibJS: Replace the global print() function with console.log() :^)

This commit is contained in:
Andreas Kling 2020-03-16 14:58:20 +01:00
parent 19452230cd
commit 086f68e878
10 changed files with 109 additions and 25 deletions

View file

@ -1,12 +1,12 @@
var d = "Double quoted string\n";
print(d);
console.log(d);
var s = 'Single quoted string\n';
print(s)
console.log(s)
var e = "Escaped characters \b \f \n \r \t \v \' \" \\ \n";
print(e)
console.log(e)
var u = "Unterminated string
this is not possible in js\n";
print(u);
console.log(u);
var u2 = 'This is neither\n
print(u2);
console.log(u2);