summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/misc/error-undefined-message.js
blob: 8a9202b8fd69b7a26c221136597d6500e315039c (plain)
1
2
3
4
5
6
7
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/licenses/publicdomain/

assertEq(new Error().hasOwnProperty('message'), false);
assertEq(new Error(undefined).hasOwnProperty('message'), false);

reportCompare(0, 0, 'ok');