How to create a folder in Firebase Storage?
<p>So the new Firebase has support for storage using Google Cloud Platform.</p>

<p>You can upload a file to the <code>images</code> folder using:</p>

<pre><code>var uploadTask = storageRef.child('images').put(file, metadata);
</code></pre>

<p>What if you want to create a subfolder <code>images/user1234</code> dynamically using code?</p>

<p>The offical <a href="https://github.com/firebase/quickstart-js/blob/master/storage/index.html" rel="noreferrer">sample</a> does not show how to do that, nor the <a href="https://firebase.google.com/docs/storage/web/create-reference#create_a_reference" rel="noreferrer">official guide</a> or <a href="https://firebase.google.com/docs/reference/js/firebase.storage.Reference" rel="noreferrer">reference docs</a>.</p>

<p>Is the Firebase Console the only place where folders can be created <a href="https://support.google.com/firebase/answer/6400868?hl=en#create-folder" rel="noreferrer">manually</a>?</p>