lengthをもっている配列ではないオブジェクトのforEach
Array.prototype.forEach.call(document.querySelectorAll('span'),function(node){
console.log(node);
});
Array.prototype.forEach()
与えられた関数を、配列の各要素に対して一度ずつ実行します。
function logArrayElement(element, index, array){
console.log("a[" + index + "] = " + element);
}
[2, 5, 9].forEach(logArrayElements);
google.maps.LatLng
LatLngクラスは位置座標のインスタンスを作成するためのクラス。
var latLng = new google.maps.LatLng(35.71, 139.8107, false)
google.maps.Marker
マーカー(アイコン)
var marker = new google.maps.Marker({
map: _map,
position: new google.maps.LatLng(35.693235, 139.757864),
animation: google.maps.Animation.DROP
});
parseFloat
引数として与えられた文字列を解析して浮動小数点数を返す。