INNER CODE UNIT · JavaScript

display

cyrus-and/chrome-remote-interface · bin/client.js:15

function display(object) {
    return util.inspect(object, {
        colors: process.stdout.isTTY,
        depth: null
    });
}

function toJSON(object) {
    return JSON.stringify(object, null, 4);
}

///

function inspect(target, args, options) {
    options.local = args.local;
    // otherwise the active target
    if (target) {
        if (args.webSocket) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…