2018年8月7日火曜日
Effective JavaScript Ch.1
https://www.slideshare.net/teppeis/effective-java-script-ch1?next_slideshow=1
未定義チェック
function do(num, str) {
if (typeof num === 'undefined') {
num = 10;
}
if (num == null {
num = 10;
}
//...........
}
未定義チェック
function do(num, str) {
if (typeof num === 'undefined') {
num = 10;
}
if (num == null {
num = 10;
}
//...........
}
2018年8月6日月曜日
2018年8月5日日曜日
2018年8月2日木曜日
登録:
投稿 (Atom)