Bug 230931

Summary: Display return values in nicer way in the jsc REPL and add a prettyPrint function
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: Saam Barati <saam>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ews-watchlist, keith_miller, mark.lam, msaboff, tsavell, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=231095
Bug Depends on: 231116    
Bug Blocks:    
Attachments:
Description Flags
Patch
tzagallo: review+
patch
tzagallo: review+
patch for landing
none
patch none

Saam Barati
Reported 2021-09-28 19:12:55 PDT
print strings with quotes around them, and arrays with brackets. Currently, print("[1]") looks like print("1") looks like print(1), which is not a great user experience.