UNPKG

@web-native-js/observer

Version:

A simple set of functions for intercepting and observing JavaScript objects and arrays.

18 lines (15 loc) 340 B
/** * @imports */ import _getProps from './_getProps.js'; /** * Runs a "ownKeys" query operation on a target. * Fires any such query observers that may be bound to target. * * @param array|object subject * * @return array */ export default function(subject) { return _getProps(true/*ownKeys*/, ...arguments); }