LoginSignup
0
1

More than 3 years have passed since last update.

javascriptについて質問です。

Posted at

https://blog.codecamp.jp/javascript-geolocation
上記リンクにて位置情報取得について調べていたのですが、


getCurrentPosition()を呼び出すと、すぐに制御が返されます(次の文が実行される)。そして、位置情報の取得に成功すると、引数に渡した関数にPositionオブジェクトが渡されます。

という一文があるのですが、いまいち理解できません。。。。
どなたか解説お願いできないでしょうか。。。。

<!DOCTYPE html>





test


0
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1