summaryrefslogtreecommitdiff
path: root/deps/v8/src/js/harmony-object-observe.js
blob: 95dd298f0db45908e88fb22b2773e2fa956882ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

(function(global, utils) {

"use strict";

%CheckIsBootstrapping();

var ObserveArrayMethods = utils.ImportNow("ObserveArrayMethods");
var ObserveObjectMethods = utils.ImportNow("ObserveObjectMethods");;

utils.InstallFunctions(global.Object, DONT_ENUM, ObserveObjectMethods);
utils.InstallFunctions(global.Array, DONT_ENUM, ObserveArrayMethods);

})