A New Language (or API for javascript)
Tuesday, March 9th, 2010I'm thinking about writing an API for javascript that would greatly simplify the creation of simple apps that I frequently find myself remaking.
The first and last test of the night was to double check that bracket syntax works in javascript:
JAVASCRIPT:
-
<html>
-
<head>
-
<script language="Javascript">
-
var _ = this;
-
-
//alert("hi");
-
function test(){
-
document.write("testing to see if bracket syntax works in javascript... and it does<br/>");
-
}
-
-
_["test"]();
-
test();
-
-
</script>
-
</head>
-
<body>
-
</body>
-
</html>
The result of this script is boring it simply write :
HTML:
to the body...