Using Built-in Functions in Postscript
Using built-in functions in Postscript
const result = __add(1, 2);
console.log(result); // 3More Interesting Examples
// Generate a random UUID
const id = __random_uuid();
// Hash a string using SHA-256
const hash = __sha256('mySecret', 'hex');
// Get the next suggested element from full_array which is not in sub_array.
const nextMissingElement = __array_missing_element([0,1,3,4], [0,1,2,3,4,5,6,7,8,9,10]) // returns 2⚠️ String Inputs and Outputs in Built-in Functions
Last updated