現在の URL パスをStringのArrayとして返します。
例えば、https://example.com/sketchbookというURLでホストされているスケッチを考えてみましょう。getURLPath()を呼び出すと ['sketchbook']が返されます。https://example.com/sketchbook/mondayというURLでホストされているスケッチの場合、getURLPath()は ['sketchbook', 'monday']を返します。
実例
リターン
String[]: パスコンポーネント。
This page is generated from the comments in src/core/environment.js . Please feel free to edit it and submit a pull request!