Skip to navigation

Question:
How javascript can get the worldpress base url?

Use simple algorithms as well as simple data structures.