We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49a9e1d commit 4c871adCopy full SHA for 4c871ad
2 files changed
index.js
@@ -0,0 +1,11 @@
1
+class 1ia {
2
+ constructor(...arr) {
3
+ let arr = [...arr]
4
+ }
5
+
6
+ pos(num) {
7
+ this.arr[num - 1]
8
9
+}
10
11
+module.exports = 1ia
package.json
@@ -0,0 +1,22 @@
+{
+ "name": "1ia",
+ "version": "1.0.0",
+ "description": "1 indexed arrays. Don't kill me this wasn't my idea",
+ "main": "index.js",
+ "scripts": {
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/fyleto/1ia.git"
12
13
+ "keywords": [
14
+ "array"
15
+ ],
16
+ "author": "YetNT",
17
+ "license": "MIT",
18
+ "bugs": {
19
+ "url": "https://github.com/fyleto/1ia/issues"
20
21
+ "homepage": "https://github.com/fyleto/1ia#readme"
22
0 commit comments