CopyPastor

Detecting plagiarism made easy.

Score: -1; Reported for: Open both answers

Possible Plagiarism

Plagiarized on 2018-02-04
by Sébastien

Original Post

Original - Posted on 2008-10-16
by redsquare



            
Present in both answers; Present only in the new answer; Present only in the old answer;



<!-- begin snippet: js hide: false console: true babel: false -->
<!-- language: lang-js -->
var str = '"123", "bankole","wale","","","" and ""'; var arr = str.split(',') var start = str.split(',').slice(0, -1) var end = arr[arr.length-1];
console.log(start ) console.log(end)
<!-- end snippet -->


<!-- begin snippet: js hide: false console: true babel: false -->
<!-- language: lang-js -->
var myJSONObject = {"ircEvent": "PRIVMSG", "method": "newURI", "regex": "^http://.*"}; delete myJSONObject.regex;
console.log ( myJSONObject.regex); // logs: undefined
<!-- end snippet -->
This works in Firefox and Internet&nbsp;Explorer, and I think it works in all others.

        
Present in both answers; Present only in the new answer; Present only in the old answer;