ansel0926
2022-05-14 82c0e01ab038fa3119208b8bf1fba2e46404c262
1
2
3
4
5
6
module.exports = function(x) {
  if (Math.abs(x) > 1) {
    x = (x > 1) ? 1 : -1;
  }
  return Math.asin(x);
};