Fix a bug in the Object contructor
authorLars Knoll <lars.knoll@digia.com>
Fri, 14 Dec 2012 13:23:21 +0000 (14:23 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Fri, 14 Dec 2012 13:29:35 +0000 (14:29 +0100)
commitb6582ef2b917275064b511ee734d331fc35c3d4c
tree7b5cdf9505c04d56661cc82f9c4310a4162f5feb
parentc09b940a64df421a05b3471af4218a4c320cf6e8
Fix a bug in the Object contructor

new Object(x) should convert x to an object and return
it if x is not null or undefined

Change-Id: Icb5547a23df83018757901bfecb5f024610e7c68
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
qv4ecmaobjects.cpp