Sign in
webkit
/
WebKit
/
73559930a6418bc4621c1c5774b11e1be9c21a8f
/
.
/
LayoutTests
/
js
/
script-tests
/
code-serialize-paren.js
blob: 2a3377b6ac2955e6d09e7b80fa4db1ca5193ed4b [
file
] [
log
] [
blame
]
description
(
"This test checks whether converting function code to a string preserves semantically significant parentheses."
)
shouldBeTrue
(
"(function () { return (x + y) * z; }).toString().search('return.*[(]') != -1"
);