• Returns a string array representation of keys in the given object

    Parameters

    • object: any

      the object to inspect

    Returns string[]

    the keys of the given object

    keys({foo: 'bar'});    // ['foo']