You're viewing the legacy docs. They are deprecated as of May 18, 2016.
These docs are for version 2.4.2 and below of the Javascript SDK. Go to our current docs, or see our Web migration guide.

JavaScript Web Guide

Web Development Guide

This is a step by step guide for developing web applications with Firebase. The guide provides in depth coverage for every core feature in Firebase and the recommended best practices to follow when developing your application.