Don't crash when getting the properties of a native function
{
    internalProperties : [
        [0] : {
            name : [[Prototype]]
            value : {
                className : Function
                description : function () { [native code] }
                objectId : <objectId>
                type : function
            }
        }
        [1] : {
            name : [[Scopes]]
            value : {
                className : Array
                description : Scopes[0]
                objectId : <objectId>
                subtype : internal#scopeList
                type : object
            }
        }
    ]
    result : [
        [0] : {
            configurable : true
            enumerable : false
            isOwn : true
            name : length
            value : {
                description : 2
                type : number
                value : 2
            }
            writable : false
        }
        [1] : {
            configurable : true
            enumerable : false
            isOwn : true
            name : name
            value : {
                type : string
                value : slice
            }
            writable : false
        }
    ]
}
