News for hackers. Stuff that matters.
Re:The Awk Programming Language (1988) [pdf] by tannhaeuser on Thursday May 24, 2018 @11:35AM (#17145028)
Awk is basically what JavaScript syntax is based on (no really!). The following (while not terribly useful) is both awk and JavaScript:

    function f(x, otherArgs) {
      r = otherArgs["x"]
      for (v in otherArgs)
        delete otherArgs[v]
      return r
    }
JavaScript even uses awk-style regexp literals (though with PCRE semantics, and more features, etc.).

There are no comments on this comment yet.