Skip to content

Instantly share code, notes, and snippets.

@ankitamasand ankitamasand/type-change.js Secret
Created Apr 17, 2019

Embed
What would you like to do?
var a = 2
a = function () {
console.log("I was initialized with a value of an integer, but now I'm a function")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.