Edit in JSFiddle

var phone = function(brand, model, os, colorF, colorB){
		this.brand = brand,
    this.model = model,
    this.os = os,
    this.color = {
    		front : colorF,
        back : colorB
    makeCall = function(){
    		//does something

var x = new phone('Samsung','S7','Android','black','white');
var y = new phone('Apple','iPhone','iOS','White','white');
var z = new phone('Apple','iPhone','iOS','White','white');
var a = new phone('Apple','iPhone','iOS','White','white');
var b = new phone('Apple','iPhone','iOS','White','white');

console.log(y.brand + ' ' + y.model);
<!-- JavaScript Objects - Creating Custom JavaScript objects #39 -->
Welcome to the 39th Easy JavaScript tutorial, part of <a href="http://www.easyprogramming.net">EasyProgramming.net</a>. Let's continue to look at JavaScript objects by creating our own custom objects using the <code>new</code> keyword. Let's also utilize the <code>this</code> keyword. 
You can create an object template (also known as a constructor) which will act as a placeholder for new objects. You can then create 

Syntax of an object constructor:</h2>

var person = function(param1, param1, param3){
        this.name1 = param1,
        this.name2 = param2,
        this.name3 = param3,
        method1 = function(){
            //write what method1 does
Creating and accessing new object:
  <pre>var item1 = new person(arg1, arg2, arg3);</pre>
  <pre>var item2 = new person(arg1, arg2, arg3);</pre>
Let's practice:</h2>
<span id="output">___</span>
<br /><br />