in javascript no,
non serve a fare questo