現在の URL パスをStringのArrayとして返します。
例えば、https://example.com/sketchbookというURLでホストされているスケッチを考えてみましょう。getURLPath()を呼び出すと ['sketchbook']が返されます。https://example.com/sketchbook/mondayというURLでホストされているスケッチの場合、getURLPath()は ['sketchbook', 'monday']を返します。
実例
リターン
String[]: パスコンポーネント。
Notice any errors or typos? Please let us know. Please feel free to edit src/core/environment.js and open a pull request!