mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-12 07:19:44 +00:00
14 lines
230 B
Plaintext
14 lines
230 B
Plaintext
![]() |
title: SampleJavaScriptWithError
|
||
|
type: application/javascript
|
||
|
|
||
|
/*
|
||
|
This is an example JavaScript file
|
||
|
*/
|
||
|
function myFunction(param) {
|
||
|
if(=) { // An error
|
||
|
param = param/17;
|
||
|
}
|
||
|
return param * Math.PI; // Perform a calculation
|
||
|
}
|
||
|
|