[–] 19 points 9 months ago (10 children)

that's not really a thing in JS as Math isn't imported, it's just an object available globally. the closest you can get is like const { random: getRandom } = Mathbut that's just uglier.

the implication is that this function is exported from a library so they have to keep the function around - obviously in a modern project you'd just do Math.random()

  • source
  • parent
  • context
  • [–] 27 points 1 year ago (3 children)
    • Darth Vader is one of a kind to his universe. You can represent him as one vertical line.
    • Deadpool(?) has two sides, his violent actions that he is known for, but also having a side that cares about his family. They are almost two different people, so you can represent him with two vertical lines.
    • In Super Mario 64, Mario is trying to save Princess Peach so they can be a happy couple together. You can represent that couple with two vertical lines.
    • Sans is known for being a lot shorter than his brother Papyrus. So if you put them one next to the other, you would have one vertial line, and one horizontal line.

    Therefore, this is loss.

  • source
  • view more: next ›