Suppose such a snippet of html
<a name="edit" href="javascript:" onclick="edit_column(this, {{ column.id }})"><span class="glyphicon glyphicon-pencil"></span></a>
the js:
function edit_column(the, column_id){
alert(the)}
On clicking, it alerts "javascript:"
I tried to retrieve more info about it with
function edit_column(the, column_id){
alert(typeof the)}
It alert object
How could I retrieve properties and method of such a specified object, like dir or vars in python?