- Gunma.web #30
- 1/20 開催
- Gunma.web #31
- 4/21 開催
- Gunma.web #32
- 7/7 開催
- Gunma.web #33
- 10/6 開催
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
global = "global hensuu"; // ReferenceError: assignment to undeclared variable global | |
function func(){ | |
console.log(global); | |
var global = "local"; | |
console.log(global); | |
} | |
func(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
var global = "global hensuu"; | |
function func(){ | |
console.log(global); // undefined # "global hensuu ではない" | |
var global = "local"; | |
console.log(global); // local | |
} | |
func(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global = "global hensuu"; | |
function func(){ | |
"use strict"; | |
console.log(global); // undefined # "global hensuu ではない" | |
var global = "local"; | |
console.log(global); // local | |
} | |
func(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Gadget() | |
{ | |
var specs = { | |
width:300, | |
height:400, | |
}; | |
this.get_specs = function() | |
{ | |
return specs; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Gadget() | |
{ | |
var specs = { | |
width:300, | |
height:400, | |
}; | |
this.get_specs = function() | |
{ | |
return specs; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var aaa = 1; | |
function bbb() { | |
"use strict"; | |
alert(aaa); // undefined | |
var aaa = 2; | |
alert(aaa); // 2 | |
} | |
bbb(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use Net::OpenID::Consumer::Lite; | |
my $check_url = Net::OpenID::Consumer::Lite->check_url | |
( | |
'https://www.hatena.ne.jp/openid/server', | |
'http://gunma-note.org/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function.prototype.method = function(name,func) | |
{ | |
this.prototype[name] = func; | |
return this; | |
} | |
Array.method('unshift' , function () { | |
this.splice.apply(this,[0,0].concat(Array.prototype.slice.apply(arguments))); | |
return this.length; | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script language=javascript> | |
<!-- | |
Function.prototype.method = function(name,func) | |
{ | |
this.prototype[name] = func; | |
return this; | |
}; |
NewerOlder