Built-in Object Factory (ok)
https://app.gitbook.com/@javascriptuse/s/advanced/chem-gio-ve-javascript-design-pattern-phan-2
var obj = new Object(),
numberObj = new Object(1),
stringObj = Object('1'),
boolObj = Object(true);
// test
obj.constructor === Object; // true
numberObj.constructor === Number; // true
stringObj.constructor === String; // true
boolObj.constructor === Boolean; // trueLast updated