Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Microsoft JScript runtime error '800a138f'
- 'Response.WriteBlock(...)' is null or not an object
- [1,2,3].each( function( i ) {
- Response.Write( "<b>" + i + "</b>, " );
- });
- var fruits = [];
- fruits.push( "apples" );
- fruits.push( "oranges" );
- fruits.each( function( fruit ) {
- Response.Write( "<b>" + fruit + "</b>, " );
- });
- // As will this
- var nums = [ 1,2,3,4,5 ];
- nums.each( function(i) {
- Response.Write( "<b>" + i + "</b>" );
- });
- <%
- [ 1,2,3,4,5 ].each( function(i) {
- Response.Write( "<b>" + i + "</b>" );
- });
- %>
- <%
- var something = 1;
- [ 1,2,3,4,5 ].each( function(i) {
- Response.Write( "<b>" + i + "</b>" );
- });
- %>
- <%
- ;[ 1,2,3,4,5 ].each( function(i) {
- Response.Write( "<b>" + i + "</b>" );
- });
- %>
- //foo.js
- 1 + 1 == 2
- //bar.js
- ("lol, string")
- //foo.js + bar.js
- 1 + 1 == 2("lol, string") // TypeError: number is not a function
- //bar.js
- ;("lol, string")
- //foo.js + bar.js
- 1 + 1 == 2;("lol, string") // SUCCESS!!1!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement