Jump to content

Z13398: रिवीजन सभ के बीचा में अंतर

Wikifunctions से
Converting reference to programming language to use an ID
Translated content to igbo
 
(एगो अन्य प्रयोगकर्ता के कइल एक ठो बीच के रिवीजन नइखे देखावल जात)
लाइन ११: लाइन ११:
"Z1K1": "Z16",
"Z1K1": "Z16",
"Z16K1": "Z600",
"Z16K1": "Z600",
"Z16K2": "function Z13397( Z13397K1, Z13397K2 ) {\n\tconst list = Z13397K1, index = parseInt(Z13397K2);\n\t\n\t//if the index is invalid such negative value or is higher than length of the list\n\tif(isNaN(index) || index \u003C 0 || index-1 \u003E list.length-1)\n\t return;\n\t \n\treturn list[index \u003E 0 ? index-1 : index];\n\n}"
"Z16K2": "function Z13397( Z13397K1, Z13397K2 ) {\n\tconst list = Z13397K1, index = Number(Z13397K2);\n\t\n\t//if the index is invalid such negative value or is higher than length of the list\n\tif(isNaN(index) || index \u003C 0 || index-1 \u003E list.length-1)\n\t return;\n\t \n\treturn list[index \u003E 0 ? index-1 : index];\n\n}"
}
}
},
},
लाइन २२: लाइन २२:
"Z11K1": "Z1002",
"Z11K1": "Z1002",
"Z11K2": "get element from list"
"Z11K2": "get element from list"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "nweta mmewere site na listi"
}
}
]
]

२०:०९, ८ जुलाई २०२४ ले भइल नया बदलाव

This page displays in a limited way without JavaScript.