[Webkit-unassigned] [Bug 18540] console.log('multiple', 'strings') quotes all strings after the first

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 10 01:07:05 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=18540


casey.hattori at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22197|                            |review?
               Flag|                            |




------- Comment #1 from casey.hattori at gmail.com  2008-07-10 01:07 PDT -------
Created an attachment (id=22197)
 --> (https://bugs.webkit.org/attachment.cgi?id=22197&action=view)
fix

Should I have written
    Object.type(parameters[i], InspectorController.inspectedWindow()) ===
"string"
instead of
    typeof parameters[i] === "string"
like on line 49 of Console.js?

I kind of feel using Object.type is an overkill for detecting string.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list