[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-26。"],[[["The `abs()` function calculates the absolute value of each element in an input array."],["It accepts an array as input and returns a new array with the absolute values of the original elements."],["The function works on arrays of any dimensions, including nested arrays."],["Both JavaScript and Python APIs support the `abs()` function."]]],["The `abs()` function computes the absolute value of each element in an input array. It takes an array as input (`this: input`) and returns a new array. The function operates element-wise, transforming negative values to their positive counterparts while leaving non-negative values unchanged. Examples show its use in JavaScript and Python, demonstrating its application to one-dimensional and two-dimensional arrays. In both cases it is used by the `.abs()` at the end of the array.\n"]]