if javascript object based or object oriented code example Example: is javascript object oriented var js = new JavaScript(); js.isObjectOrientated = true;