{"size": 1045, "ext": "js", "max_stars_repo_path": "test/Prototypes/initProto.js", "max_stars_repo_name": "P1umer/ChakraCore", "max_stars_repo_stars_event_min_datetime": "2016-01-13T17:33:19.000Z", "max_stars_repo_stars_event_max_datetime": "2019-05-06T19:55:36.000Z", "max_issues_repo_path": "test/Prototypes/initProto.js", "max_issues_repo_name": "P1umer/ChakraCore", "max_issues_repo_issues_event_min_datetime": "2016-01-13T17:57:02.000Z", "max_issues_repo_issues_event_max_datetime": "2019-05-04T15:41:54.000Z", "max_forks_repo_path": "test/Prototypes/initProto.js", "max_forks_repo_name": "P1umer/ChakraCore", "max_forks_repo_forks_event_min_datetime": "2016-01-13T17:54:57.000Z", "max_forks_repo_forks_event_max_datetime": "2019-04-29T18:16:27.000Z"}
{"max_stars_count": 8664, "max_issues_count": 5058, "max_forks_count": 1367, "avg_line_length": 26.125, "max_line_length": 106, "alphanum_fraction": 0.433492823}
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------

function write(v) { WScript.Echo(v + ""); }

function doEval(str)
{
    try {
        write(str + " = " + eval(str));
    } catch (e) { 
        write(str + " = err: " + e);
    }
}

function check(type)
{
    doEval(type + ".prototype");
    doEval("typeof("+ type + ".prototype)");
    doEval(type + ".prototype.length");
    doEval("typeof("+ type + ".prototype.length)");
    doEval(type + ".prototype.toString()");
}

var types = [ 
    "Array",
    "Boolean",
    "Date",
    //"Function", // TODO: Check the function.toString
    "Number",
    "RegExp",
    "String"
]

for (var i=0; i< types.length; i++)
{
    check(types[i]);
}
