PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Objects/DisallowObjectStringIndexUnitTest.js

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Objects/DisallowObjectStringIndexUnitTest.js   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Objects/DisallowObjectStringIndexUnitTest.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year ago
Size: 786 bytes
 

Contents

Class file image Download
function test(id) { this.id = id; } /**/ test.prototype = { init: function() { var x = {}; x.name = 'test'; x['phone'] = 123124324; var t = ['test', 'this'].join(''); var y = ['test'].join(''); var a = x[0]; var z = x[x['name']]; var p = x[x.name]; } }; function test() { this.errors['step_' + step] = errors; this.errors['test'] = x; this.errors['test' + 10] = x; this.errors['test' + y] = x; this.errors['test' + 'blah'] = x; this.errors[y] = x; this.errors[y + z] = x; this.permissions['workflow.cancel'] = x; } if (child.prototype) { above.prototype['constructor'] = parent; child.prototype['super'] = new above(); }