Skip to content
View indifferentghost's full-sized avatar

Highlights

  • Pro

Block or report indifferentghost

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. A pretty awkward linked list A pretty awkward linked list
    1
    const Node = (function () {
    2
      const _value = new WeakMap();
    3
    
                  
    4
      function _Node(value) {
    5
        _value.set(this, value);
  2. Fizzbuzz Without If JavaScript Fizzbuzz Without If JavaScript
    1
    function replacer(arr, num, replace) {
    2
    	for (let i = num - 1; i < arr.length; i += num) {
    3
    		arr[i] = replace;
    4
    	}
    5
    }
  3. Implementation of Abstract Equality ... Implementation of Abstract Equality Comparison
    1
    function getMethod(value, property) {
    2
      if (typeof property === 'string' || typeof property === 'symbol') {
    3
        const func = value[property]
    4
        if (func === null || func === undefined) {
    5
          return undefined;