-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Akin C edited this page Apr 15, 2018
·
15 revisions
This repository is part of a larger project!
Javascript´s function ToString allows the developer to get the code of a function as a string. Like the following example should show:
function myCode()
{
console.log("Hello World!");
}
myCode.toString();
//Output should look like this:
/*
"function myCode()
{
console.log("Hello World!");
}"
*/
STILL IN WORK!
This knowledge was gained:
- Effective JavaScript "68 Specific Ways to Harness the Power of JavaScript" by David Herman
Sources:
-
Location reload() Method by W3Schools
-
Edit and save a file locally with JS asked by Pascal Boutin answered by guest271314