Sha256: 1565e879a9992b33cd97d1a88d1cfe3daa9650dbcefa2b21558bd522689ebd6a

Contents?: true

Size: 345 Bytes

Versions: 43

Compression:

Stored size: 345 Bytes

Contents

/*jsl:option explicit*/
function assign_to_function_call() {
    var o;
    var s;

    o = {};
    s = 'prop';

    o.prop = [];
    o['prop'] = [];

    o.getThis = function() { return this; };
    o.getThis() = {}; /*warning:assign_to_function_call*/

    ((function(){return 0;})()) = []; /*warning:assign_to_function_call*/
}

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
distil-0.8.1 vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.8.0 vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.7.0 vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js