सामग्रीमा जानुहोस्

Z13398: संशोधनहरू बीचको भिन्नता

Wikifunctionsबाट
कुनै सम्पादन सारांश छैन
 
कुनै सम्पादन सारांश छैन
पङ्क्ति १४: पङ्क्ति १४:
"Z61K1": "javascript"
"Z61K1": "javascript"
},
},
"Z16K2": "function Z13397( Z13397K1, Z13397K2 ) {\n\tconst list = Z13397K1, index = parseInt(Z13397K2);\n\t\n\tif(isNaN(index) || index \u003C 0 || index \u003E list.length-1)\n\t return;\n\t \n\treturn list[index];\n\n}"
"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 \u003E list.length-1)\n\t return;\n\t \n\treturn list[index];\n\n}"
}
}
},
},

१५:१८, २४ फेब्रुअरी २०२४ जस्तै गरी पुनरावलोकन

This page displays in a limited way without JavaScript.
"https://www.wikifunctions.org/w/index.php?title=Z13398&oldid=83147" बाट अनुप्रेषित