Skip to content

Commit

Permalink
update the documentation and few methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ahamed committed Jul 21, 2020
1 parent 6a24c0d commit a51ae10
Show file tree
Hide file tree
Showing 3 changed files with 264 additions and 108 deletions.
5 changes: 2 additions & 3 deletions examples/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

use Ahamed\JsPhp\JsArray;
$array = new JsArray([1, 2, 3, 4, 5]);
// $sum = $array->reduce(fn($acc, $curr) => $acc * $curr);
$sum = 0;
print_r('ok');
$slice = $array->slice(10);
print_r($slice);

Loading

0 comments on commit a51ae10

Please sign in to comment.