Works on javaScript2