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.14.5.a vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.14.4 vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.14.3 vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.14.2 vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.14.2.a vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.14.1 vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.14.1.a vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.14.0 vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.14.0.i vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.14.0.h vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.14.0.g vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.14.0.d vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.14.0.c vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.14.0.b vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.13.6 vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.13.5 vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.13.4 vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.13.3 vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.13.2 vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js
distil-0.13.1 vendor/jsl-0.3.0/tests/warnings/assign_to_function_call.js