Sign in
webkit
/
WebKit
/
c6951ff6f7d972427c05df8e7c39e3f2d74bf29c
/
.
/
LayoutTests
/
js
/
dom
/
add-to-primitive-expected.txt
blob: 44e9ed87e8a8fb3aedb80a61730ccfd8c422319c [
file
] [
log
] [
blame
]
This page tests that string addition prefers valueOf() over toString() for conversion. If the test passes, you'll see a PASS message below.
PASS: '1' + valueOfIsZero should be 10 and is.