how to create a new object in javascript function code example Example: javascript construct new object person = new Object();