From a gist related to the Realm API: 'A realm object abstracts the notion of a distinct global environment, with its own global object, copy of the standard library, and "intrinsics" (standard objects that are not bound to global variables, like the initial value of Object.prototype).'
In other words, a realm is the concept of an encapsulated runtime container that gets its own root namespace, copy of the standard library, and fresh copies of primitive data types.
A shim is available to start using the new Realm API today, in both node (via vm.createContext) and in browsers (via same-origin iframes)
fn.