Releases: masrourmouad/mujs-plus
Releases · masrourmouad/mujs-plus
v1.3.4
ADDITIONS
Custom function: Math.rand(min, max)
provides a random integer between min and max, including min and max.
Math.rand(max)
provides a random integer between 0 and max, including 0 and max.
File.exists(filename)
checks if the file exists, returns a boolean: true or false.
File.read(filename)
reads the file, returns file contents.
File.write(filename, content)
writes the content on the file, if file dont exist creats one
File.append(filename, content)
appends the content on the file, if file dont exist creats one
String.prototype.substr
String.prototype.includes
Array.prototype.includes