Test: Difference between revisions
From OuroDev
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Test | Test | ||
< | <source lang="javascript" line start="2" highlight="4-6"> | ||
// SyntaxHighlighter makes your code snippets beautiful without tiring your servers. | |||
// http://alexgorbatchev.com | |||
var setArray = function(elems) { | |||
this.length = 0; | |||
push.apply(this, elems); | |||
return this; | |||
} | } | ||
</ | </source> |
Latest revision as of 09:26, 14 May 2019
Test
// SyntaxHighlighter makes your code snippets beautiful without tiring your servers.
// http://alexgorbatchev.com
var setArray = function(elems) {
this.length = 0;
push.apply(this, elems);
return this;
}