mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
15 lines
256 B
JavaScript
15 lines
256 B
JavaScript
|
|
||
|
export const obj = {
|
||
|
eq: function (
|
||
|
jqLite,
|
||
|
index
|
||
|
) {
|
||
|
return index >= 0
|
||
|
? jqLite(
|
||
|
this[index]
|
||
|
)
|
||
|
: jqLite(
|
||
|
this[this.length + index]
|
||
|
);
|
||
|
},
|
||
|
}
|