Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Hello World (netflix.com)
54 points by lopkeny12ko on April 18, 2024 | hide | past | favorite | 11 comments


Ignoring the fact that that's a stupidly large payload for a statically displaying two words, the JS code in there is weird. I mean, who comments code like this:

  // 23.1.3.33 Array.prototype.toReversed ( )
  CreateMethodProperty(Array.prototype, 'toReversed', function toReversed() {
     // 1. Let O be ? ToObject(this value).
     var O = ToObject(this);
     // 2. Let len be ? LengthOfArrayLike(O).
     var len = LengthOfArrayLike(O);
     // 3. Let A be ? ArrayCreate(len).
     var A = ArrayCreate(len);
     // 4. Let k be 0.
     var k = 0;
     // 5. Repeat, while k < len,
     while (k < len) {
         // a. Let from be ! ToString((len - k - 1)).
         var from = ToString(len - k - 1);
         // b. Let Pk be ! ToString((k)).
         var Pk = ToString(k);
         // c. Let fromValue be ? Get(O, from).
         var fromValue = Get(O, from);
         // d. Perform ! CreateDataPropertyOrThrow(A, Pk, fromValue).
         CreateDataPropertyOrThrow(A, Pk, fromValue);
         // e. Set k to k + 1.
         k = k + 1;
    }
    // 6. Return A.
    return A;
  });



Is this the reason why ThePrimeAgen left Netflix??? 0.0


This is a secret promo for a new Netflix documentary about the birth of the computer industry.

You found the easter egg. Can you find the others?


https://www.netflix.com/humans.txt

I'll take the open seat in the front row :)


Wow, if you curl it, there's a lot of boilerplate code there (polyfill).

Maybe built using Bazel?

https://bazel.build


When I viewed the page source it had "/* No polyfills needed for current settings and browser */" in there. My assumption is/was that this page might be used as a debugging tool by netflix devs. Not sure though...


Netflix by the way


why?


Bruh


based




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: