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.

Version 2.4.2Changelog

new Firebase()

var usersRef = new Firebase('https://samplechat.firebaseio-demo.com/users');
// usersRef now refers to the 'users' database location
For more information, see the Creating References section of the Understanding Data guide.