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:
parent
19452230cd
commit
086f68e878
10 changed files with 109 additions and 25 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue