So I was using getElementById method and consoled it when I'm consoling with string it just displays string object like this [Object] i want to display it as Object
var element = document.getElementById('input');
console.log("the view element "+ element );

console.log("the view element ", element );- use comma