Skip to content

Commit

Permalink
$mol_range2 restore
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkalica committed Sep 17, 2023
1 parent 40f5f77 commit 3e7ea5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions range2/range2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ namespace $ {
export function $mol_range2< Item = number >(
item : ( index : number )=> Item = index => index as any ,
size = ()=> Number.POSITIVE_INFINITY ,
sample = new $mol_range2_array<Item>
) : Item[] {

return new Proxy( sample , {
return new Proxy( new $mol_range2_array< Item >() , {

get( target , field ) {
if( typeof field === 'string' ) {
Expand Down

0 comments on commit 3e7ea5d

Please sign in to comment.