Skip to main content
Commonmark migration
Source Link

#JavaScript (ES7), Step Hen

JavaScript (ES7), Step Hen

I've found 5 solutions that work, so far:

[]

new Array()

Array.prototype

String.prototype

Number.prototype

Strangely, Object.prototype doesn't work.

#JavaScript (ES7), Step Hen

I've found 5 solutions that work, so far:

[]

new Array()

Array.prototype

String.prototype

Number.prototype

Strangely, Object.prototype doesn't work.

JavaScript (ES7), Step Hen

I've found 5 solutions that work, so far:

[]

new Array()

Array.prototype

String.prototype

Number.prototype

Strangely, Object.prototype doesn't work.

added 104 characters in body
Source Link
Shaggy
  • 43.5k
  • 4
  • 36
  • 94

#JavaScript (ES7), Step Hen

I've found 5 solutions that work, so far:

[]

new Array()

Array.prototype

String.prototype

Number.prototype

I'm still trying to figure out how/why this works!Strangely, Object.prototype doesn't work.

#JavaScript (ES7), Step Hen

[]

I'm still trying to figure out how/why this works!

#JavaScript (ES7), Step Hen

I've found 5 solutions that work, so far:

[]

new Array()

Array.prototype

String.prototype

Number.prototype

Strangely, Object.prototype doesn't work.

Source Link
Shaggy
  • 43.5k
  • 4
  • 36
  • 94

#JavaScript (ES7), Step Hen

[]

I'm still trying to figure out how/why this works!